Skip to content

Commit

Permalink
Caching
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 2, 2024
1 parent fe0672a commit 658d43d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ http {
add_header 'Permissions-Policy' 'fullscreen=(self), geolocation=(self), clipboard-read=(self), clipboard-write=(self)' always;
add_header 'Content-Security-Policy' "default-src 'self' *.API_URL; ${IMG}; ${WORKER}; ${CONNECT}; ${STYLE_SRC_ATTR}; ${STYLE_SRC_ELEM}; ${FONT}; upgrade-insecure-requests;" always;

add_header Cache-Control no-cache;
add_header Cache-Control 'no-store, no-cache, must-revalidate';
add_header Expires 0;
add_header Pragma no-cache;

try_files /index.html =404;
try_files /index.html;
}

location /docs/ {
Expand Down

0 comments on commit 658d43d

Please sign in to comment.