Skip to content

Commit

Permalink
Add webmanifest for Static files
Browse files Browse the repository at this point in the history
  • Loading branch information
in-session authored Mar 9, 2021
1 parent c416e6b commit b877a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ location /static/ {
rewrite ^/static/version\d*/(.*)$ /static/$1 last;
}

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

0 comments on commit b877a4a

Please sign in to comment.