File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ location /static/ {
112
112
rewrite ^/static/version\d*/(.*)$ /static/$1 last;
113
113
}
114
114
115
- location ~* \.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2|html|json|webmanifest)$ {
115
+ location ~* \.(ico|jpg|jpeg|png|gif|svg|svgz| webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2|html|json|webmanifest)$ {
116
116
add_header Cache-Control "public";
117
117
add_header X-Frame-Options "SAMEORIGIN";
118
118
expires +1y;
@@ -166,7 +166,7 @@ location /media/ {
166
166
deny all;
167
167
}
168
168
169
- location ~* \.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2)$ {
169
+ location ~* \.(ico|jpg|jpeg|png|gif|svg|svgz| webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2)$ {
170
170
add_header Cache-Control "public";
171
171
add_header X-Frame-Options "SAMEORIGIN";
172
172
expires +1y;
You can’t perform that action at this time.
0 commit comments