Merge pull request #376 from yogeshbeniwal/master

Set cache expiry of css and js files to 1 year
This commit is contained in:
VirtuBox
2023-07-16 23:33:12 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ location ~* \.(?:css(\.map)?|js(\.map)?)$ {
more_set_headers "Cache-Control : public, no-transform";
access_log off;
log_not_found off;
expires 30d;
expires 1y;
}
# Security settings for better privacy
# Deny hidden files