Commit 5b88c1e34cfcf841d14a2a70cf582c87339475c5
Exists in
master
and in
4 other branches
Merge pull request #1336 from mmonge/install_nginx_fix
nginx vhost standard
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
doc/installation.md
... | ... | @@ -246,12 +246,13 @@ You can login via web using admin generated with setup: |
246 | 246 | |
247 | 247 | Add gitlab to nginx sites & change with your host specific settings |
248 | 248 | |
249 | - cp /home/gitlab/gitlab/lib/support/nginx-gitlab /etc/nginx/sites-enabled/gitlab | |
249 | + sudo cp /home/gitlab/gitlab/lib/support/nginx-gitlab /etc/nginx/sites-available/gitlab | |
250 | + sudo ln -s /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab | |
250 | 251 | |
251 | 252 | # Change **YOUR_SERVER_IP** and **YOUR_SERVER_FQDN** |
252 | 253 | # to the IP address and fully-qualified domain name |
253 | 254 | # of the host serving GitLab. |
254 | - vim /etc/nginx/sites-enabled/nginx-gitlab | |
255 | + sudo vim /etc/nginx/sites-enabled/gitlab | |
255 | 256 | |
256 | 257 | Restart nginx: |
257 | 258 | ... | ... |