feat(ansible/caddy): Ajoute trustpilot.com à la CSP pour permettre les avis

This commit is contained in:
Serreau Jovann
2025-11-17 09:45:31 +01:00
parent 8a838dd244
commit 4aadc68e67

View File

@@ -18,7 +18,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 'unsafe-inline'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; img-src 'self'; object-src 'none'; frame-ancestors 'none';"
Content-Security-Policy "default-src 'self'; script-src 'self' *.cloudflareinsights.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-ancestors 'none';"
}
php_fastcgi unix//run/php/php8.3-fpm.sock {