centos7安装Nginx
https://www.cnblogs.com/kaid/p/7640723.html
gitlab的安装
https://blog.csdn.net/duyusean/article/details/80011540
注意IP 是外网IP,还有端口号,阿里云禁止80端口,要注意
编辑gitlab的配置
vi /etc/gitlab/gitlab.rb,修改external_url 参数值
external_url 'http://47.112.138.152'
vim /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
host: 47.112.138.152
port: 80
https: false