DEVOPS-1898 fixes from Pavel
This commit is contained in:
parent
961ba3b4de
commit
44f9351cde
1 changed files with 33 additions and 31 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue