fix(services/mail): rollback to old version
Some checks failed
Nix CI / build (push) Has been cancelled
Some checks failed
Nix CI / build (push) Has been cancelled
This commit is contained in:
parent
eb255953d3
commit
68b1aaf79c
4 changed files with 24 additions and 18 deletions
|
|
@ -12,15 +12,14 @@ mkIf cfg.enable {
|
|||
allowedTCPPorts = [ cfg.port ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts =
|
||||
mkIf (cfg.domain != null) {
|
||||
"${cfg.domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
services.nginx.virtualHosts = mkIf (cfg.domain != null) {
|
||||
"${cfg.domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ mkIf cfg.enable {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
settings = {
|
||||
# Instance settings
|
||||
general = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue