cit-is-bot-backend/nginx/secure-headers.conf

7 строки
531 B
Plaintext

add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; script-src 'self' 'unsafe-inline' https://esm.run https://cdn.jsdelivr.net https://telegram.org; font-src 'self' https://fonts.gstatic.com";
add_header X-Frame-Options "DENY";
add_header X-Content-Type-Options "nosniff";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
add_header Referrer-Policy "origin";
add_header X-XSS-Protection "1; mode=block; report=mailto:security@csasq.ru";