Skip to content

Commit

Permalink
nginx: drop unused otf extension
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 30, 2024
1 parent 39de642 commit bbd4612
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ http {
application/vnd.ms-fontobject
application/x-font-ttf
application/xml
font/opentype
image/svg+xml
text/css
text/javascript
Expand All @@ -256,7 +255,6 @@ http {
application/vnd.ms-fontobject
application/x-font-ttf
application/xml
font/opentype
image/svg+xml
text/css
text/javascript
Expand Down Expand Up @@ -527,7 +525,7 @@ http {
brotli_static on;
}

location ~ \.(?:ttf|otf|eot|woff|woff2)$ {
location ~ \.(?:ttf|eot|woff|woff2)$ {
include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "same-origin" always;
add_header Cache-Control "public, max-age=2592000";
Expand Down

0 comments on commit bbd4612

Please sign in to comment.