【发布时间】:2017-07-25 11:58:04
【问题描述】:
我刚刚删除了我的 gitlab 综合 nginx conf 文件。是否可以重新创建?
gitlab-ci reconfigure 似乎不起作用。但是我看到一些负责创建 nginx conf 的 ruby 模板
【问题讨论】:
-
你的意思是什么配置文件?在
../gitlab/nginx/conf/nginx.conf中有一个注释,即This file is managed by gitlab-ctl. Manual changes will be erased! To change the contents below, edit /etc/gitlab/gitlab.rb and run sudo gitlab-ctl reconfigure. -
我的意思是
gitlab-http.conf这个不是用 gitlab-ctl reconfigure 重新创建的 -
gitlab-http.conf 文件有同样的注解说它是由 gitlab-ctl 管理的...