diff --git a/Docker_Registry_Install_Guide.md b/Docker_Registry_Install_Guide.md index 613ac7e..736fc45 100644 --- a/Docker_Registry_Install_Guide.md +++ b/Docker_Registry_Install_Guide.md @@ -44,6 +44,9 @@ This guide covers setting up a rootless Docker Registry v2 with host TLS reverse # Install Podman and related tools sudo apt install -y podman slirp4netns fuse-overlayfs nginx +# Disable stock nginx.service to avoid conflicts with hardened registry-proxy.service +sudo systemctl disable --now nginx.service + # Verify installation podman --version @@ -252,6 +255,7 @@ http { proxy_set_header Host $host; 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; } } }