Remove headers that conflict with using traefik to terminate TLS

Eg. https://github.com/distribution/distribution/issues/970
This commit is contained in:
Kienan Stewart 2022-10-02 14:22:17 -04:00
parent 353de60795
commit 5b1ac50af8
1 changed files with 0 additions and 3 deletions

View File

@ -36,9 +36,6 @@ http {
proxy_pass http://docker-registry;
proxy_set_header Host $http_host; # required for docker client's sake
proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 900;
}
}