Skip to content

Commit

Permalink
unecessary?
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jul 5, 2023
1 parent 48ee860 commit 6aa7133
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,23 @@ server {
if_modified_since off;
expires off;
etag off;

try_files $uri $uri/ =404;
}

location /service-worker.js {
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;

try_files $uri $uri/ =404;
}

location /assets {
expires 1y;
add_header Cache-Control public;

try_files $uri $uri/ =404;
}

location /images {
expires 7d;
add_header Cache-Control public;

try_files $uri $uri/ =404;
}

location /404.html {
Expand Down

0 comments on commit 6aa7133

Please sign in to comment.