From 0ed34272f453f16ed0d2aea609e8f1cf9c2fec2a Mon Sep 17 00:00:00 2001
From: hoellen <dev@hoellen.eu>
Date: Wed, 16 Oct 2024 11:59:25 +0200
Subject: [PATCH] fix: add otf loading in nginx config

---
 rootfs/etc/nginx/conf.d/default.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rootfs/etc/nginx/conf.d/default.conf b/rootfs/etc/nginx/conf.d/default.conf
index 0e0928f..af2bde4 100644
--- a/rootfs/etc/nginx/conf.d/default.conf
+++ b/rootfs/etc/nginx/conf.d/default.conf
@@ -72,7 +72,7 @@ server {
             access_log off;
         }
 
-        location ~ \.woff2?$ {
+        location ~ \.(otf|woff2)?$ {
             try_files $uri /index.php$uri$is_args$args;
             expires 7d;
             access_log off;