- Makefile: install_dev, install_prod, migration/migrate commands - docker-compose-dev: add Caddy and Bun services - docker-compose-prod: remove exposed pgbouncer port - Ansible: Caddy template with maintenance mode (503), vault, deploy playbook - Gitea workflow: manual deploy to production - Maintenance page (Neubrutalism style) - LICENSE: proprietary license Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
613 B
Django/Jinja
33 lines
613 B
Django/Jinja
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
|
|
}
|
|
}
|