diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-01-06 10:10:27 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-01-06 21:33:00 +0530 |
commit | c576f263a760c7502bf6cbac4fa6087f00ad7409 (patch) | |
tree | c0cec8534fd6aba81df2adc2551380c13ffdd00f /os/kay/modules/www.nix | |
parent | 5c274e6214c321a8ba90d473e3500989d6e84ed1 (diff) |
kay/mail: migrate
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" [ |