Files
ludikevent_crm/ansible/templates/caddy.j2

31 lines
771 B
Plaintext
Raw Normal View History

intranet.ludikevent.fr, signature.ludikevent.fr, reservation.ludikevent.fr {
tls {
dns cloudflare KL6pZ-Z_12_zbnM2TtFDIsKM8A-HLPhU5GJJbKTW
}
root * {{ path }}/public
file_server
request_body {
max_size 100MB
}
# --- NO-INDEX MATCHER ---
# Defines which hosts should not be indexed
@noindex host intranet.ludikevent.fr signature.ludikevent.fr
header @noindex X-Robots-Tag "noindex, nofollow"
# --- BLOC HEADER AVEC CSP ---
header {
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
}
php_fastcgi unix//run/php/php8.3-fpm.sock {
read_timeout 300s
write_timeout 300s
dial_timeout 100s
}
}