mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
commit
6df4f5d03c
@ -34,7 +34,7 @@ server {
|
||||
listen [::]:80 ipv6only=on default_server;
|
||||
server_name _; ## 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://$http_host:{{GITLAB_PORT}}$request_uri;
|
||||
return 301 https://$host:{{GITLAB_PORT}}$request_uri;
|
||||
access_log {{GITLAB_LOG_DIR}}/nginx/gitlab_access.log;
|
||||
error_log {{GITLAB_LOG_DIR}}/nginx/gitlab_error.log;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user