diff --git a/nginx.conf b/nginx.conf index 8e605a8..c4e798a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -42,19 +42,19 @@ http { # Temporary: Disable caching during development location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ { - # expires 1w; - # add_header Cache-Control "public, immutable"; - add_header Cache-Control "no-cache, no-store, must-revalidate"; - add_header Pragma "no-cache"; - add_header Expires "0"; + expires 10m; + add_header Cache-Control "public, immutable"; + # add_header Cache-Control "no-cache, no-store, must-revalidate"; + # add_header Pragma "no-cache"; + # add_header Expires "0"; } location ~* \.html$ { - # expires 1h; - # add_header Cache-Control "public"; - add_header Cache-Control "no-cache, no-store, must-revalidate"; - add_header Pragma "no-cache"; - add_header Expires "0"; + expires 10m; + add_header Cache-Control "public"; + # add_header Cache-Control "no-cache, no-store, must-revalidate"; + # add_header Pragma "no-cache"; + # add_header Expires "0"; } location /health {