Skip to content

Commit 760ab36

Browse files
authored
Update nginx.conf.sample
1 parent 7e4e074 commit 760ab36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx.conf.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ location /static/ {
112112
rewrite ^/static/version\d*/(.*)$ /static/$1 last;
113113
}
114114

115-
location ~* \.(ico|jpg|jpeg|png|gif|svg|webp|avif|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$ {
115+
location ~* \.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$ {
116116
add_header Cache-Control "public";
117117
add_header X-Frame-Options "SAMEORIGIN";
118118
expires +1y;
@@ -166,7 +166,7 @@ location /media/ {
166166
deny all;
167167
}
168168

169-
location ~* \.(ico|jpg|jpeg|png|gif|svg|webp|avif|js|css|swf|eot|ttf|otf|woff|woff2)$ {
169+
location ~* \.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs|js|css|swf|eot|ttf|otf|woff|woff2)$ {
170170
add_header Cache-Control "public";
171171
add_header X-Frame-Options "SAMEORIGIN";
172172
expires +1y;

0 commit comments

Comments
 (0)