removed cache for css and js

This commit is contained in:
Fedor Katurov 2022-11-02 15:14:14 +06:00
parent 1551172bb9
commit 07a306a6f4

View file

@ -16,7 +16,7 @@ http {
gzip_types text/plain application/xml application/javascript; gzip_types text/plain application/xml application/javascript;
## All static files will be served directly. ## All static files will be served directly.
location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg)$ { location ~* ^.+\.(?:cur|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg)$ {
access_log off; access_log off;
expires 1d; expires 1d;
add_header Cache-Control public; add_header Cache-Control public;