From 7b4b79f5d4d28e4773dcd29c638ee76acbffd5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sun, 29 Oct 2023 19:04:32 +0100 Subject: [PATCH] fix: add host header to collabora nginx proxy_pass --- hosts/nachtigall/apps/collabora.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/nachtigall/apps/collabora.nix b/hosts/nachtigall/apps/collabora.nix index cfe875e0..e126fd0e 100644 --- a/hosts/nachtigall/apps/collabora.nix +++ b/hosts/nachtigall/apps/collabora.nix @@ -9,7 +9,10 @@ enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:9980"; + locations."/".extraConfig = '' + proxy_pass http://127.0.0.1:9980; + proxy_set_header Host $host; + ''; }; virtualisation = {