很抱歉在这里提出这样一个愚蠢的问题,自从我在10y服务器上配置了任何东西以来,这已经是10岁了。
我猜gitlab使用的是nginx,它应该独立于apache,所以站点-现有的等等不会有任何效果。我要配置什么?
发布于 2017-02-23 08:37:12
使用:
sudo systemctl stop apache2 和
sudo systemctl disable apache2确保gitlab在gitlab.rb中使用nginx
然后重新启动gitlab
sudo gitlab-ctl restart 现在在端口80处使用ip。
发布于 2017-02-23 12:29:52
我猜gitlab使用的是nginx,它应该独立于apache,所以站点-现有的等等不会有任何效果。我要配置什么?
Gitlab与nginx捆绑在一起,但您可以禁用它。然后,Gitlab可以与Apache服务器一起使用。这取决于你的喜好。使用Apache的Gitlab示例配置:Configure gitlab with apache2 (or nginx + apache2)
https://stackoverflow.com/questions/42409164
复制相似问题