matrix-docker-ansible-deploy/examples/caddy/matrix-util

8 lines
187 B
Plaintext

:80 {
# Redirect ACME-Challenge traffic to port 2402
proxy /.well-known/acme-challenge http://127.0.0.1:2402
# Redirect all other traffic to HTTPS
redir / https://{host}{uri} 301
}