lists running
This commit is contained in:
parent
4e0659f24a
commit
e00ae90fa5
3 changed files with 46 additions and 16 deletions
|
|
@ -67,6 +67,35 @@
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
'';
|
||||
services.nginx.virtualHosts."lists.htw.stura-dresden.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://127.0.0.1:18507";
|
||||
# };
|
||||
};
|
||||
services.mailman = {
|
||||
enable = true;
|
||||
hyperkitty = {
|
||||
enable = true;
|
||||
};
|
||||
serve.enable=true;
|
||||
webHosts = [
|
||||
"lists.htw.stura-dresden.de"
|
||||
];
|
||||
};
|
||||
|
||||
services.postfix.config.relay_domains = [
|
||||
"hash:/var/lib/mailman/data/postfix_domains"
|
||||
];
|
||||
services.postfix.config.transport_maps = [
|
||||
"hash:/var/lib/mailman/data/postfix_lmtp"
|
||||
];
|
||||
services.postfix.config.local_recipient_maps = [
|
||||
"hash:/var/lib/mailman/data/postfix_lmtp"
|
||||
];
|
||||
|
||||
services.mailman.siteOwner = "mailman@htw.stura-dresden.de";
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "mail.htw.stura-dresden.de";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue