32 lines
1.6 KiB
Django/Jinja
32 lines
1.6 KiB
Django/Jinja
intranet.ludikevent.fr, signature.ludikevent.fr {
|
|
tls {
|
|
dns cloudflare KL6pZ-Z_12_zbnM2TtFDIsKM8A-HLPhU5GJJbKTW
|
|
}
|
|
|
|
root * {{ path }}/public
|
|
file_server
|
|
|
|
request_body {
|
|
max_size 100MB
|
|
}
|
|
|
|
# --- BLOC HEADER AVEC CSP ---
|
|
header {
|
|
X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"
|
|
|
|
# CSP sur une seule ligne pour éviter tout problème d'interprétation par Caddy
|
|
Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://sentry.esy-web.dev https://chat.esy-web.dev https://auth.esy-web.dev https://static.cloudflareinsights.com; connect-src 'self' https://sentry.esy-web.dev https://chat.esy-web.dev https://auth.esy-web.dev https://cloudflareinsights.com; frame-src 'self' https://chat.esy-web.dev https://auth.esy-web.dev; style-src 'self' 'unsafe-inline' https://chat.esy-web.dev; img-src 'self' data: https://chat.esy-web.dev; font-src 'self' data:; frame-ancestors 'none';"
|
|
|
|
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), usb=(), vr=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), ambient-light-sensor=(), battery=(), gamepad=(), notifications=(), push=()"
|
|
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
|
|
}
|
|
}
|