matrix-docker-ansible-deploy/examples/caddy/matrix-util
2021-08-13 16:05:57 +08:00

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
}