From a9cdd14ffc4d390e3138a92fea19860d8c0e9eea Mon Sep 17 00:00:00 2001 From: continuist Date: Sun, 24 Aug 2025 15:16:30 -0400 Subject: [PATCH] Improve security #9 --- Docker_Registry_Install_Guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker_Registry_Install_Guide.md b/Docker_Registry_Install_Guide.md index f8e6e46..1022b19 100644 --- a/Docker_Registry_Install_Guide.md +++ b/Docker_Registry_Install_Guide.md @@ -254,7 +254,7 @@ http { location /v2/ { limit_req zone=reg_write burst=10; proxy_pass http://reg; - proxy_set_header Host $host; + proxy_set_header Host $host:$server_port; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; add_header Docker-Distribution-Api-Version "registry/2.0" always;