Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 13, 2020
1 parent d702756 commit 723832b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,5 @@
<script src="geomag2020.js"></script>
<script src="script.js"></script>

<!-- adsbexchange ads placeholder -->
</body>
</html>
14 changes: 7 additions & 7 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand All @@ -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";
Expand All @@ -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";
}
}

0 comments on commit 723832b

Please sign in to comment.