location url 反向代理到来机的其它端口 gitlab
location /nexus { proxy_pass http://127.0.0.1:8081/nexus; }
[root@GitMaven conf]# pwd /var/opt/gitlab/nginx/conf [root@GitMaven conf]# ls gitlab-http.conf gitlab-http.conf.tar.2016-10-221022 nginx.conf nginx.conf.bak nginx.conf.tar.2016-10-221022 #在这里gitlab-http.conf 设定!!!
# /opt/gitlab/embedded/sbin/nginx -s reload
联系方式QQ:326528263 EMAIL:clnking@163.com 网名:bass 分享技术 突破难点 创新思维