mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2025-12-08 17:36:24 +00:00
redirects fix
This commit is contained in:
parent
85ce4fd06e
commit
b1e2276d02
@ -10,7 +10,7 @@ server {
|
||||
listen *:80;
|
||||
server_name {{GITLAB_REGISTRY_HOST}};
|
||||
server_tokens off; ## Don't show the nginx version number, a security best practice
|
||||
return 301 https://$http_host:$request_uri;
|
||||
return 301 https://$http_host$request_uri;
|
||||
access_log {{GITLAB_LOG_DIR}}/nginx/gitlab_registry_access.log;
|
||||
error_log {{GITLAB_LOG_DIR}}/nginx/gitlab_registry_error.log;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user