hainich/nginx: fix proxy headers

This commit is contained in:
hexchen 2020-12-10 08:17:59 +00:00
parent a0042efc5a
commit 15f361216d
2 changed files with 9 additions and 1 deletions

View file

@ -17,6 +17,9 @@
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "https://stuebinm.4future.dev/mumble.infra4future.de/"; proxyPass = "https://stuebinm.4future.dev/mumble.infra4future.de/";
extraConfig = ''
proxy_set_header Host $host;
'';
}; };
}; };
# set ACLs so that the murmur user can read the certificates # set ACLs so that the murmur user can read the certificates

View file

@ -14,7 +14,12 @@
rc3clustersite = { rc3clustersite = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/".proxyPass = "https://stuebinm.4future.dev/about-future-website/"; locations."/" = {
proxyPass = "https://stuebinm.4future.dev/about-future-website/";
extraConfig = ''
proxy_set_header Host $host;
'';
};
}; };
in { in {
"hainich.chaoswit.ch" = { "hainich.chaoswit.ch" = {