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;