From f99a81bc9b5571d2700f8a5d26b7522bd43d3815 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Thu, 14 Dec 2023 15:19:47 +0100 Subject: [PATCH] thrall: Configure reverse proxy for photo-groove --- hosts/thrall/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/thrall/default.nix b/hosts/thrall/default.nix index b254020..033e2b3 100644 --- a/hosts/thrall/default.nix +++ b/hosts/thrall/default.nix @@ -208,6 +208,11 @@ in { extraConfig = '' add_header X-Frame-Options 'SAMEORIGIN'; ''; + + locations."/photo-groove" = { + proxyPass = "http://127.0.0.1:8000/"; + proxyWebsockets = true; + }; }; "www.jakalx.net" = {