Commit 491f63794b40a7ca13de8d30227ad92a1ea04bbe

Authored by Marvin Monge
1 parent 51558bd5

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  
... ...