all-in-one/Containers/mastercontainer/Caddyfile
Simon L 849c0c4c89 disable the tls-alpn challenge
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-15 19:36:26 +01:00

35 lines
647 B
Caddyfile

{
# auto_https will create redirects for https://{host}:8443 instead of https://{host}
# https redirects are added manually in the http://:80 block
auto_https disable_redirects
storage file_system {
root /mnt/docker-aio-config/caddy/
}
log {
level ERROR
}
}
http://:80 {
redir https://{host}{uri}
}
# Match only host names and not ip-addresses:
https://*.*:8443,
https://*.*.*:8443,
https://*.*.*.*:8443,
https://*.*.*.*.*:8443,
https://*.*.*.*.*.*:8443 {
reverse_proxy localhost:8000
tls {
on_demand
issuer acme {
disable_tlsalpn_challenge
}
}
}