Update X.Y.conf

This commit is contained in:
Eric Johansson (neku) 2021-06-06 20:48:03 +02:00 committed by GitHub
parent 9ed3650ffb
commit bbd7acc88f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,11 @@ root /var/www/uguu/dist/;
autoindex off;
access_log off;
index index.html index.php;
etag on;
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;