What a clusterfuck
This commit is contained in:
parent
91f88b8bb2
commit
f29273be22
221 changed files with 779 additions and 956 deletions
11
modules/system/services/mailserver/nginx/default.nix
Normal file
11
modules/system/services/mailserver/nginx/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, outputs, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."mx.${outputs.secrets.jimDomain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:1390";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue