Setup mail service to be hosted on Bomberman

This commit is contained in:
Jimbo 2024-10-22 20:43:32 -04:00
parent 734e76940d
commit f7c3f6e279
5 changed files with 54 additions and 48 deletions

View file

@ -0,0 +1,11 @@
{ pkgs, config, ... }:
{
services.nginx.virtualHosts."mx.${config.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:1390";
proxyWebsockets = true;
};
};
}