Merge pull request #100708 from fooker/nginx-encoding

nixos/nginx: Do not remove headers while proxying
This commit is contained in:
Martin Weinelt 2020-10-18 15:52:50 +02:00 committed by GitHub
commit 4baba17252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,6 @@ let
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header Accept-Encoding "";
'';
upstreamConfig = toString (flip mapAttrsToList cfg.upstreams (name: upstream: ''