summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-09 11:26:57 +0100
committerlassulus <lassulus@lassul.us>2021-12-09 11:31:10 +0100
commit8e66a4ff652a28851b13c798f3b69248b029ac7e (patch)
tree2f66d938712c73a85a5317c54c427d57b0ba1e8c /krebs
parent3e501e2acc4b8bbc036b86a195d090eacf413613 (diff)
wiki: add host proxy_header
Diffstat (limited to 'krebs')
-rw-r--r--krebs/2configs/wiki.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/2configs/wiki.nix b/krebs/2configs/wiki.nix
index 9a18b8dff..9952ed394 100644
--- a/krebs/2configs/wiki.nix
+++ b/krebs/2configs/wiki.nix
@@ -46,6 +46,7 @@ in
locations."/".extraConfig = ''
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
+ proxy_set_header Host $host;
proxy_pass http://127.0.0.1:${toString config.services.gollum.port};
'';
};