Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion nginx/config/local-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Loading