hainich/nginx: fix proxy headers
This commit is contained in:
parent
a0042efc5a
commit
15f361216d
|
@ -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
|
||||||
|
|
|
@ -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" = {
|
||||||
|
|
Loading…
Reference in a new issue