This commit is contained in:
DarkCat09 2024-06-26 16:39:11 +04:00
parent d3c15bce86
commit eb6a4bde5b
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3
8 changed files with 35 additions and 0 deletions

17
s/static Normal file
View file

@ -0,0 +1,17 @@
location ~* \.(?:manifest|appcache|html?|xml|json)$ {
expires -1;
}
location ~* \.(?:jpe?g|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
expires 1M;
add_header Cache-Control "public";
}
location ~* \.(?:css|js)$ {
expires 1y;
add_header Cache-Control "public";
}
location ~ /\.ht {
deny all;
}