summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-22 13:22:58 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-22 13:22:58 +0000
commitbcb07929fe7d79be4eab86c7eb0cb0409a736efc (patch)
tree9bf6e2d4b83ab5d1c7b31526713fce8081d32907 /doc
parent7bee9ce10edfb1440ee9b28cad210b1d8d4fad3d (diff)
parente338e85d1bb88296d7008f65e9ee59550baaa73b (diff)
downloadgitlab-ce-bcb07929fe7d79be4eab86c7eb0cb0409a736efc.tar.gz
Merge branch 'nginx_defaulthost_documentation' into 'master'
Close #178 Nginx conf default_host documentation This closes #178 We're just making it clear that some nginx installs such as by default on recent Ubuntu's, the /etc/nginx/sites-enabled/default file will conflict the listen line of the gitlab nginx conf's due to the default_server directive. changed installation.md to identify the issue to a user added notes to both nginx configs for gitlab and gitlab-ssl [ci-skip See merge request !225
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index ff0361c5e52..8b918cba133 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -368,6 +368,9 @@ Make sure to edit the config file to match your setup:
# Change YOUR_SERVER_FQDN to the fully-qualified
# domain name of your host serving GitLab.
+ # If using Ubuntu default nginx install:
+ # either remove the default_server from the listen line
+ # or else rm -f /etc/sites-enabled/default
sudo editor /etc/nginx/sites-available/gitlab
**Note:** If you want to use HTTPS, replace the `gitlab` Nginx config with `gitlab-ssl`. See [Using HTTPS](#using-https) for HTTPS configuration details.