fix reverse proxy

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-16 15:05:29 +01:00
parent bab72253c0
commit 33a6152815
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -87,18 +87,18 @@ in {
versions 1.1 2 3
}
}
to https://cache.nixos.org
header_up Host {upstream_hostport}
header_up -Authorization
header_down -Set-Cookie
header_down Access-Control-Allow-Origin '*'
header_down -Access-Control-Allow-Methods
header_down Access-Control-Allow-Headers
header_up -Set-Cookie
}
to https://cache.nixos.org
header_up Host {upstream_hostport}
header_up -Authorization
header_down -Set-Cookie
header_down Access-Control-Allow-Origin '*'
header_down -Access-Control-Allow-Methods
header_down Access-Control-Allow-Headers
header_up -Set-Cookie
transport http {
versions 1.1 2 3
}
transport http {
versions 1.1 2 3
}
}
'';