We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a368b6f commit 1ac8f00Copy full SHA for 1ac8f00
1 file changed
nginx/config/local-server.conf
@@ -39,8 +39,11 @@ location ~ [^/]\.php(/|$) {
39
fastcgi_buffer_size 32k;
40
}
41
42
-# serve static files directly
+# serve static files directly, fall through to front controller if not found.
43
+# This is needed for v21+ installs where static assets (amd/build/, pix/, fonts/)
44
+# live under server/ not public/, so nginx can't serve them directly.
45
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
46
access_log off;
47
expires max;
48
+ try_files $uri /index.php?$query_string;
49
0 commit comments