Merge branch 'clarify-nginx-installation' into 'master'

Clarify NGINX config setup

These changes are to clarify that the paths may need to be changed in 
the NGINX config file depending on where GitLab is installed.

See merge request !6834
This commit is contained in:
Achilleas Pipinellis 2016-11-04 11:28:36 +00:00
commit 69bff037be

View file

@ -479,10 +479,14 @@ Copy the example site config:
sudo cp lib/support/nginx/gitlab /etc/nginx/sites-available/gitlab
sudo ln -s /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab
Make sure to edit the config file to match your setup:
Make sure to edit the config file to match your setup. Also, ensure that you match your paths to GitLab, especially if installing for a user other than the 'git' user:
# Change YOUR_SERVER_FQDN to the fully-qualified
# domain name of your host serving GitLab.
#
# Remember to match your paths to GitLab, especially
# if installing for a user other than 'git'.
#
# If using Ubuntu default nginx install:
# either remove the default_server from the listen line
# or else sudo rm -f /etc/nginx/sites-enabled/default