diff --git a/docker-deploy/nginx/templates/locations/https/frontend.conf.template b/docker-deploy/nginx/templates/locations/https/frontend.conf.template index 7fe1477..d64f797 100644 --- a/docker-deploy/nginx/templates/locations/https/frontend.conf.template +++ b/docker-deploy/nginx/templates/locations/https/frontend.conf.template @@ -8,12 +8,12 @@ location / { # try files for SPA try_files $uri $uri/ $uri.html /index.html; } -location ~* \.(?:css|js)$ { # 1h storing on client for CSS+JS +location ~* \.(?:css|js|html)$ { # 1h storing on client for CSS+JS+HTML expires 1h; add_header Cache-Control "public"; } -location ~* \.(?:json|png|jpg|jpeg|gif|svg|ico|ttf|otf)$ { # 7d storing on client for static images+fonts +location ~* \.(?:png|jpg|jpeg|gif|svg|ico|ttf|otf)$ { # 7d storing on client for static images+fonts expires 7d; add_header Cache-Control "public"; }