feat(ansible/caddy): Ajoute le domaine datas.e-cosplay.fr à la CSP pour les scripts.

This commit is contained in:
Serreau Jovann
2025-11-17 11:00:05 +01:00
parent 48aa9dfc0a
commit 900ebc61b5

View File

@@ -15,7 +15,7 @@ www.e-cosplay.fr {
header {
-X-Robots-Tag
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), publickey-credentials-get=(), usb=(), vr=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), ambient-light-sensor=(), battery=(), gamepad=(), notifications=(), push=()"
Content-Security-Policy "default-src 'self'; script-src 'self' *.cloudflareinsights.com storage.googleapis.com *.trustpilot.com 'unsafe-inline'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; img-src 'self'; object-src 'none'; frame-src *.trustpilot.com; frame-ancestors 'none';"
Content-Security-Policy "default-src 'self'; script-src 'self' datas.e-cosplay.fr *.cloudflareinsights.com storage.googleapis.com *.trustpilot.com 'unsafe-inline'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; img-src 'self'; object-src 'none'; frame-src *.trustpilot.com; frame-ancestors 'none';"
}
php_fastcgi unix//run/php/php8.3-fpm.sock {