本博文操作安装gitlab版本管理工具,采用配置使用外部的nginx来完成安装,集成安装可参考博文:https://blog.csdn.net/cen50958/article/details/93225968
nginx安装可参考博文:
https://blog.csdn.net/cen50958/article/details/89819419
Gitlab-基础安装
- 参考安装博文:Gitlab-安装配置管理,安装步骤到:Gitlab相关配置 之前即可
使用外部Nginx(http服务)
-
配置nginx配置文件
#gitlab socket 文件地址 upstream gitlab { server unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket; } server { listen *:80; server_name gitlab.silly.com; # 请修改为你的域名 server_tokens off; # don't show the version number, a security best practice root /opt/gitlab/embedded/service/gitlab-rails/public; # Increase this if you want to upload large attachments # Or if you want to accept large git objects over http client_max_body_size 250m; # in