nexus3 在 windows 上部署 + nginx 反向代理到 nexus3

3 篇文章 0 订阅
2 篇文章 0 订阅

nexus3 在 windows 上部署 + nginx 反向代理到 nexus3

背景

上一篇说了 linux 上部署 nexus3和 maven 上传下载 jar包到 nexus3 私服
公司是存在内网环境及拥有 windows 版本的内网服务器,所以需要在公司内网搭建一套。那么需求就来了。

技能列表

  1. 下载 nexus-3.12.1-01-win64
  2. win10 下 部署 nexus
    2.1 使用 nginx 进行反向代理

win10 下 部署 nexus

优秀的文章

使用 nginx 进行反向代理

nexus-3.13.0-01-win64\sonatype-work\nexus3\etc文件夹下的nexus.properties文件
修改 nexus-context-path=/yiyibang-nexus

## DO NOT EDIT - CUSTOMIZATIONS BELONG IN $data-dir/etc/nexus.properties
##
# Jetty section
application-port=8889
application-host=127.0.0.1
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml
nexus-context-path=/yiyibang-nexus

# Nexus section
nexus-edition=nexus-pro-edition
nexus-features=\
 nexus-pro-feature

nginx代理配置

	server {
		  #监听的端口
		listen       9004;
		server_name  kk.medicalunion.com.cn;
		#molian_APP为发布项目名称,8888为tomcat项目发布的端口
		location /yiyibang-nexus { 
			proxy_pass  http://localhost:8889;
		}	

验证结果

在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值