autoconfig
This commit is contained in:
parent
94a68d81fc
commit
4f5f6a7c06
1 changed files with 18 additions and 6 deletions
|
|
@ -59,12 +59,24 @@ in
|
||||||
"1.1.1.1"
|
"1.1.1.1"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nginx.virtualHosts."lists.${config.networking.domain}" = {
|
services.nginx.virtualHosts = {
|
||||||
enableACME = true;
|
"lists.${config.networking.domain}" = {
|
||||||
forceSSL = true;
|
enableACME = true;
|
||||||
# locations."/" = {
|
forceSSL = true;
|
||||||
# proxyPass = "http://127.0.0.1:18507";
|
# locations."/" = {
|
||||||
# };
|
# proxyPass = "http://127.0.0.1:18507";
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.automx2 = {
|
||||||
|
enable = true;
|
||||||
|
domain = "${config.networking.domain}";
|
||||||
|
settings = {
|
||||||
|
automx2 = {
|
||||||
|
db_uri = "sqlite:////var/lib/automx2/db.sqlite";
|
||||||
|
proxy_count = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.mailman = {
|
services.mailman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue