mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
enable gzip
This commit is contained in:
@@ -7,6 +7,10 @@ server {
|
|||||||
listen 8080;
|
listen 8080;
|
||||||
server_name asimonson.com;
|
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 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 Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
add_header X-Content-Type-Options 'nosniff';
|
add_header X-Content-Type-Options 'nosniff';
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ a {
|
|||||||
|
|
||||||
#name-container {
|
#name-container {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
|
|||||||
Reference in New Issue
Block a user