From 433efbf777f0c5921fc3f753c34f83315cdf6b2b Mon Sep 17 00:00:00 2001 From: ricardo Date: Thu, 1 Oct 2026 18:37:39 +0200 Subject: [PATCH] Pass font requests to PHP for Symfony Asset Mapper compatibility --- .../fpm-nginx/etc/nginx/server-opts.d/performance.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/variations/fpm-nginx/etc/nginx/server-opts.d/performance.conf b/src/variations/fpm-nginx/etc/nginx/server-opts.d/performance.conf index 6707c1a03..143877209 100644 --- a/src/variations/fpm-nginx/etc/nginx/server-opts.d/performance.conf +++ b/src/variations/fpm-nginx/etc/nginx/server-opts.d/performance.conf @@ -26,6 +26,8 @@ location ~* \.(?:ttf|ttc|otf|eot|woff2?)$ { add_header Access-Control-Allow-Origin "*"; add_header Cache-Control "public, max-age=31536000, immutable"; access_log off; + # Pass to PHP to ensure PHP apps can handle routes that end in these filetypes + try_files $uri /index.php?$query_string; } # gzip