Files
e-ticket/ansible/caddy.j2

33 lines
613 B
Plaintext
Raw Normal View History

ticket.e-cosplay.fr {
tls {
dns cloudflare {{ cloudflare_api_token }}
}
@maintenance file /var/www/e-ticket/public/.update
handle @maintenance {
root * /var/www/e-ticket/public
rewrite * /maintenance.html
file_server {
status 503
}
}
handle {
reverse_proxy localhost:9000 localhost:9001 {
lb_policy round_robin
health_uri /
health_interval 10s
}
}
encode gzip
header {
-Server
}
log {
output file /var/log/caddy/ticket.e-cosplay.fr.log
}
}