From b1e2276d02dd81deb1b30daed97bcf25520642f5 Mon Sep 17 00:00:00 2001 From: Henadii Sychevskyi Date: Tue, 3 Jun 2025 13:27:16 +0200 Subject: [PATCH] redirects fix --- assets/runtime/config/nginx/gitlab-registry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/runtime/config/nginx/gitlab-registry b/assets/runtime/config/nginx/gitlab-registry index ce98d045..f43be97e 100644 --- a/assets/runtime/config/nginx/gitlab-registry +++ b/assets/runtime/config/nginx/gitlab-registry @@ -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; }