redirects fix

This commit is contained in:
Henadii Sychevskyi 2025-06-03 13:27:16 +02:00 committed by GitHub
parent 37a0b9506f
commit d8fb586b0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}