diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-24 10:57:46 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-24 10:57:46 +0200 |
commit | d66da1c35b650dd46da30fa05bae16fef518d91b (patch) | |
tree | 5ff417903eed801447f71d486c098533ee2bf153 | |
parent | 0cfa8aaf79742a5a8387d37ce1f2437fdc346e95 (diff) | |
parent | 1b1ca3ee56598995c39fcd02aeac29638c342e4c (diff) | |
download | gitlab-ce-d66da1c35b650dd46da30fa05bae16fef518d91b.tar.gz |
Merge pull request #7575 from bbodenmiller/patch-3
[Documentation] add nginx test
-rw-r--r-- | doc/install/installation.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 837dcd62a91..6e0561a5027 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -316,7 +316,15 @@ Make sure to edit the config file to match your setup: # domain name of your host serving GitLab. 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 all necessary details. +**Note:** If you want to use HTTPS, replace the `gitlab` Nginx config with `gitlab-ssl`. See [Using HTTPS](#using-https) for all necessary details. + +### Test Configuration + +Validate your `gitlab` or `gitlab-ssl` Nginx config file with the following command: + + sudo nginx -t + +You should receive `syntax is okay` and `test is successful` messages. If you receive errors check your `gitlab` or `gitlab-ssl` Nginx config file for typos, etc. as indiciated in the error message given. ### Restart |