Caddy config for mail
This commit is contained in:
parent
7386b347d5
commit
f07a1852b5
1 changed files with 6 additions and 7 deletions
|
|
@ -103,16 +103,15 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
services.caddy.virtualHosts = {
|
services.caddy.virtualHosts = {
|
||||||
"webadmin.jsw.tf" = {
|
"mail.jsw.tf" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:9003
|
reverse_proxy http://127.0.0.1:9003
|
||||||
'';
|
'';
|
||||||
serverAliases = [
|
# serverAliases = [
|
||||||
# "mta-sts.jsw.tf"
|
# "mta-sts.jsw.tf"
|
||||||
# "autoconfig.jsw.tf"
|
# "autoconfig.jsw.tf"
|
||||||
# "autodiscover.jsw.tf"
|
# "autodiscover.jsw.tf"
|
||||||
"mail.jsw.tf"
|
# ];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue