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

7 строки
471 B
Plaintext
Исходник Обычный вид История

2024-08-14 01:10:29 +03:00
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self' https://cdn.csasq.ru; img-src 'self' data:; media-src 'self' blob:; worker-src 'self' blob:";
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";