enable gzip

This commit is contained in:
2023-02-19 11:44:58 -06:00
parent 760c83f465
commit eeff278c1b
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ server {
listen 8080;
server_name asimonson.com;
gzip on;
gzip_types text/plain text/javascript text/css;
gunzip on;
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' *.cloudflare.com *.chesscomfiles.com *.chess.com *.googletagmanager.com cdn.jsdelivr.net www.google-analytics.com ajax.googleapis.com;";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options 'nosniff';