diff --git a/deploy-production/nginx.conf b/deploy-production/nginx.conf index 9ecd078..065ed2b 100644 --- a/deploy-production/nginx.conf +++ b/deploy-production/nginx.conf @@ -126,8 +126,7 @@ server { # JS: service worker route handling sub_filter 'createHandlerBoundToURL("/index.html")' 'createHandlerBoundToURL("/ahnenforschung/index.html")'; - # CSS: fix relative font paths (served from subpath, ../fonts/ won't resolve) - sub_filter '../fonts/' 'fonts/'; + # CSS: font paths — ../fonts/ resolves correctly from subpath, no rewrite needed # WebSocket support proxy_http_version 1.1;