diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-12-08 13:43:45 +0100 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-12-08 13:43:45 +0100 |
| commit | 75486f09c4b8f2df17e2c16bf4d97fceb34dc9ad (patch) | |
| tree | 9c44f07bf4991a208b969b8bddf0b04e1edb02be /lib/support/nginx | |
| parent | e7969d6f6c743ead94b3b430b9184ad21f647337 (diff) | |
| parent | f5430e48b42227f1c1874ca27c6907f0f704be28 (diff) | |
| download | gitlab-ce-75486f09c4b8f2df17e2c16bf4d97fceb34dc9ad.tar.gz | |
Merge branch 'master' into zj/gitlab-ce-merge-if-green
Diffstat (limited to 'lib/support/nginx')
| -rw-r--r-- | lib/support/nginx/gitlab-ssl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl index 016f7a536fb..79fe1474821 100644 --- a/lib/support/nginx/gitlab-ssl +++ b/lib/support/nginx/gitlab-ssl @@ -56,7 +56,7 @@ server { listen [::]:80 ipv6only=on default_server; server_name YOUR_SERVER_FQDN; ## Replace this with something like gitlab.example.com server_tokens off; ## Don't show the nginx version number, a security best practice - return 301 https://$server_name$request_uri; + return 301 https://$http_host$request_uri; access_log /var/log/nginx/gitlab_access.log; error_log /var/log/nginx/gitlab_error.log; } |
