asdf
This commit is contained in:
14
nginx.conf
14
nginx.conf
@@ -38,7 +38,7 @@ location /INSTANCE/globe_history/ {
|
||||
location /INSTANCE/chunks/ {
|
||||
alias /run/SERVICE/;
|
||||
location ~ chunk_.*\.gz$ {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
add_header Content-Type "application/json";
|
||||
add_header Content-Encoding "gzip";
|
||||
}
|
||||
@@ -60,17 +60,17 @@ location /INSTANCE {
|
||||
|
||||
location ~ db-.*\.js$ {
|
||||
gzip off;
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=7776000";
|
||||
add_header Content-Encoding "gzip";
|
||||
}
|
||||
location /INSTANCE/images {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=7776000";
|
||||
}
|
||||
location /INSTANCE/flags-tiny {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=7776000";
|
||||
}
|
||||
location ~ .*\.gif$ {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=7776000";
|
||||
}
|
||||
location ~ index.html$ {
|
||||
add_header Cache-Control "public, max-age=300";
|
||||
@@ -79,9 +79,9 @@ location /INSTANCE {
|
||||
add_header Cache-Control "public, max-age=10";
|
||||
}
|
||||
location ~ .*\.js$ {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=7776000";
|
||||
}
|
||||
location ~ .*\.css$ {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
add_header Cache-Control "public, max-age=7776000";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user