fix: 🐛 Fixes #41

This commit is contained in:
ThatOneCalculator 2022-03-23 12:14:15 -07:00
parent f35b619619
commit 2f1dd15048
1 changed files with 8 additions and 2 deletions

View File

@ -17,6 +17,9 @@ server {
rewrite ^/(?!.*api)(?!.*\.).*$ /index.html;
expires 30d;
add_header Cache-Control "public, no-transform";
location / {
index index.html;
}
@ -35,10 +38,13 @@ server {
proxy_pass http://localhost:8000/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
}
expires 30d;
add_header Cache-Control "public, no-transform";
# ssl_certificate /etc/letsencrypt/live/example.tld/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/example.tld/privkey.pem;