mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
Update X.Y.conf
This commit is contained in:
parent
9ed3650ffb
commit
bbd7acc88f
@ -14,9 +14,11 @@ root /var/www/uguu/dist/;
|
|||||||
autoindex off;
|
autoindex off;
|
||||||
access_log off;
|
access_log off;
|
||||||
index index.html index.php;
|
index index.html index.php;
|
||||||
|
etag on;
|
||||||
|
|
||||||
location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf)$ {
|
location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf)$ {
|
||||||
add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
|
add_header Cache-Control "public";
|
||||||
|
expires 2d;
|
||||||
}
|
}
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
|
Loading…
Reference in New Issue
Block a user