mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-10-21 03:15:46 +02:00
Compare commits
3 commits
cab31335ff
...
5d2f866a57
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d2f866a57 | |||
| f7c2b2d75a | |||
| be5f4c0a83 |
2 changed files with 9 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ in {
|
||||||
challenge = "dns-01";
|
challenge = "dns-01";
|
||||||
# reference the contact and secret via files under /etc/stalwart
|
# reference the contact and secret via files under /etc/stalwart
|
||||||
contact = "%{file:/etc/stalwart/cloudflare-username}%";
|
contact = "%{file:/etc/stalwart/cloudflare-username}%";
|
||||||
domains = ["prg-radio.org" "mail.prg-radio.org"];
|
domains = ["prg-radio.org" "mailadmin.prg-radio.org" "mail.prg-radio.org"];
|
||||||
provider = "cloudflare";
|
provider = "cloudflare";
|
||||||
secret = "%{file:/etc/stalwart/acme-secret}%";
|
secret = "%{file:/etc/stalwart/acme-secret}%";
|
||||||
};
|
};
|
||||||
|
|
@ -154,5 +154,12 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
25
|
||||||
|
];
|
||||||
|
networking.firewall.allowedUDPPorts = [
|
||||||
|
25
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -379,7 +379,7 @@ in {
|
||||||
|
|
||||||
# Mail web administration UI (Stalwart management) - exposed under /management
|
# Mail web administration UI (Stalwart management) - exposed under /management
|
||||||
mail-webadmin = {
|
mail-webadmin = {
|
||||||
rule = "Host(`mail.prg-radio.org`) && PathPrefix(`/management`)";
|
rule = "Host(`mailadmin.prg-radio.org`) && PathPrefix(`/management`)";
|
||||||
service = "mail-webadmin";
|
service = "mail-webadmin";
|
||||||
entryPoints = ["websecure"];
|
entryPoints = ["websecure"];
|
||||||
tls = {certresolver = "acme";};
|
tls = {certresolver = "acme";};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue