33 lines
613 B
Plaintext
33 lines
613 B
Plaintext
|
|
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
|
||
|
|
}
|
||
|
|
}
|