diff --git a/start.sh b/start.sh index 0e9f8fd..e38b840 100644 --- a/start.sh +++ b/start.sh @@ -82,6 +82,36 @@ https://mail.{\$NC_DOMAIN}:443 { } } } +https://autoconfig.{\$NC_DOMAIN}.fr:443 { + route /mail/config-v1.1.xml { + reverse_proxy nextcloud-aio-stalwart:10003 + } + route { + abort + } + + # TLS options + tls { + issuer acme { + disable_http_challenge + } + } +} +https://autodiscover.{\$NC_DOMAIN}.fr:443 { + route /autodiscover/autodiscover.xml { + reverse_proxy nextcloud-aio-stalwart:10003 + } + route { + abort + } + + # TLS options + tls { + issuer acme { + disable_http_challenge + } + } +} CADDY fi