diff options
Diffstat (limited to 'os/kay/modules/www.nix')
-rw-r--r-- | os/kay/modules/www.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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" [ |