Skip to content

Commit

Permalink
Merge pull request #51 from docjyJ/patch-5
Browse files Browse the repository at this point in the history
add autoconfig & autodiscover
  • Loading branch information
szaimen authored Dec 20, 2024
2 parents f6d0df0 + e036e2f commit 4e8c500
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4e8c500

Please sign in to comment.