Skip to content

Commit

Permalink
fix: add otf support since nc 30.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
suprovsky committed Oct 20, 2024
1 parent 747ec13 commit 5641741
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rootfs/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ server {
access_log off;
}

location ~ \.woff2?$ {
try_files $uri /index.php$uri$is_args$args;
expires 7d;
access_log off;
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}

location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
Expand Down

0 comments on commit 5641741

Please sign in to comment.