diff --git a/api/nginx.conf b/api/nginx.conf index 0d0b0489d..485b46233 100644 --- a/api/nginx.conf +++ b/api/nginx.conf @@ -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/ {