set host to proxy host when reverse-proxying

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-15 09:36:32 +01:00
parent c756c75615
commit 55b9ef55e2
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -5,6 +5,9 @@
locations."/" = {
proxyPass = "https://hydra.int.chir.rs";
proxyWebsockets = true;
extraConfig = ''
proxy_set_header Host $proxy_host;
'';
};
};
}