🐞 [tmp] - nginx.conf - disable .js file caching
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Philipp Dormann 2021-01-11 21:10:40 +01:00
parent be629e5c6b
commit e6ac34bde8

View File

@ -9,7 +9,7 @@ http {
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { location ~* \.(?:ico|css|gif|jpe?g|png)$ {
expires 1y; expires 1y;
add_header Pragma public; add_header Pragma public;
add_header Cache-Control "public"; add_header Cache-Control "public";