From c936b6717247e107eb1309322828498defeed287 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Wed, 1 May 2024 16:17:45 +0200 Subject: [PATCH] added podgrab rout --- machines/elrond/routes.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/machines/elrond/routes.nix b/machines/elrond/routes.nix index f9b12b9..3586ebf 100644 --- a/machines/elrond/routes.nix +++ b/machines/elrond/routes.nix @@ -40,7 +40,16 @@ proxyPass = "http://100.84.215.84:8096"; }; }; - + + virtualHosts."podgrab.lauterer.it" = { + forceSSL = true; + useACMEHost = config.networking.domain; + locations."/" = { + proxyWebsockets = true; + proxyPass = "http://100.84.215.84:4242"; + }; + basicAuthFile = config.sops.secrets."nginx/defaultpass".path; + };