From 456a11295e1a00c9ec866cac53efe491380ba156 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Fri, 19 Apr 2024 22:18:37 +0200 Subject: [PATCH] jmap-proxy: initial setup --- hosts/falkenstein/modules/mail/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/falkenstein/modules/mail/default.nix b/hosts/falkenstein/modules/mail/default.nix index d91831e..c9b70e4 100644 --- a/hosts/falkenstein/modules/mail/default.nix +++ b/hosts/falkenstein/modules/mail/default.nix @@ -20,5 +20,10 @@ in enableACME = true; forceSSL = true; }; + "jmap.${domain}" = { + locations."/" = { + proxyPass = "http://127.0.0.1:5000"; + }; + }; }; }