client caching

This commit is contained in:
bunkerity
2020-11-12 14:02:48 +01:00
parent c2b05c463c
commit 4dea1975e2
4 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
location ~* \.(%CLIENT_CACHE_EXTENSIONS%)$ {
etag %CLIENT_CACHE_ETAG%;
add_header Cache-Control "%CLIENT_CACHE_CONTROL%";
}

View File

@@ -31,4 +31,5 @@ server {
%COOKIE_FLAGS%
%ERRORS%
%USE_FAIL2BAN%
%USE_CLIENT_CACHE%
}