From c6bce33af99d4324894e6723623da057ddac9584 Mon Sep 17 00:00:00 2001 From: Angela Kuznetsova Date: Fri, 8 May 2026 09:43:59 +1200 Subject: [PATCH] nginx fix --- nginx/config/local-server.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nginx/config/local-server.conf b/nginx/config/local-server.conf index 17d764a4..cc813fb6 100644 --- a/nginx/config/local-server.conf +++ b/nginx/config/local-server.conf @@ -39,8 +39,11 @@ location ~ [^/]\.php(/|$) { fastcgi_buffer_size 32k; } -# serve static files directly +# serve static files directly, fall through to front controller if not found. +# This is needed for v21+ installs where static assets (amd/build/, pix/, fonts/) +# live under server/ not public/, so nginx can't serve them directly. location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ { access_log off; expires max; + try_files $uri /index.php?$query_string; }