set host to proxy host when reverse-proxying
This commit is contained in:
parent
c756c75615
commit
55b9ef55e2
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
locations."/" = {
|
||||
proxyPass = "https://hydra.int.chir.rs";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $proxy_host;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue