From c576f263a760c7502bf6cbac4fa6087f00ad7409 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 6 Jan 2025 10:10:27 +0530 Subject: kay/mail: migrate --- os/kay/modules/www.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'os/kay/modules/www.nix') diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix index 6530281..e8def58 100644 --- a/os/kay/modules/www.nix +++ b/os/kay/modules/www.nix @@ -96,6 +96,14 @@ in }; }; + "mail.${domain}" = defaultOpts // { + extraConfig = "proxy_buffering off;"; + locations."/" = { + proxyWebsockets = true; + proxyPass = "http://127.0.0.1:8085"; + }; + }; + "mta-sts.${domain}" = defaultOpts // { locations."= /.well-known/mta-sts.txt".return = ''200 "${ lib.strings.concatStringsSep "\\n" [ -- cgit v1.2.3