Overhaul.
This commit is contained in:
parent
be5f4c0a83
commit
f7c2b2d75a
2 changed files with 4 additions and 4 deletions
|
|
@ -80,7 +80,7 @@ in {
|
|||
openFirewall = true;
|
||||
settings = {
|
||||
server = {
|
||||
hostname = "mailserver.prg-radio.org";
|
||||
hostname = "mail.prg-radio.org";
|
||||
tls = {
|
||||
enable = true;
|
||||
implicit = true;
|
||||
|
|
@ -112,7 +112,7 @@ in {
|
|||
};
|
||||
};
|
||||
lookup.default = {
|
||||
hostname = "mailserver.prg-radio.org";
|
||||
hostname = "mail.prg-radio.org";
|
||||
domain = "prg-radio.org";
|
||||
};
|
||||
acme."letsencrypt" = {
|
||||
|
|
@ -120,7 +120,7 @@ in {
|
|||
challenge = "dns-01";
|
||||
# reference the contact and secret via files under /etc/stalwart
|
||||
contact = "%{file:/etc/stalwart/cloudflare-username}%";
|
||||
domains = ["prg-radio.org" "mailserver.prg-radio.org" "mail.prg-radio.org"];
|
||||
domains = ["prg-radio.org" "mailadmin.prg-radio.org" "mail.prg-radio.org"];
|
||||
provider = "cloudflare";
|
||||
secret = "%{file:/etc/stalwart/acme-secret}%";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ in {
|
|||
|
||||
# Mail web administration UI (Stalwart management) - exposed under /management
|
||||
mail-webadmin = {
|
||||
rule = "Host(`mail.prg-radio.org`) && PathPrefix(`/management`)";
|
||||
rule = "Host(`mailadmin.prg-radio.org`) && PathPrefix(`/management`)";
|
||||
service = "mail-webadmin";
|
||||
entryPoints = ["websecure"];
|
||||
tls = {certresolver = "acme";};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue