DEVOPS-1898 fixes from Pavel

This commit is contained in:
Халтобин Евгений 2025-01-24 14:07:15 +03:00
parent 961ba3b4de
commit 44f9351cde

View file

@ -17,6 +17,7 @@ http {
sendfile on;
server_tokens off;
gzip on;
# text/html doesn't need to be defined there, it's compressed always
@ -105,6 +106,7 @@ http {
location @index {
root /frontend;
add_header Cache-Control "no-cache";
add_header Content-Security-Policy "frame-ancestors 'none'; default-src 'self'; script-src 'self'; style-src 'unsafe-inline' 'self' data:; font-src 'self' data:; img-src 'self' data:;";
expires 0;
try_files /index.html =404;
}