Utilize nginx to serve static files (non-.php) and forward PHP or missing file requests to the backend. Example:
location / {
if (-f $doc_root$uri && $uri !~* \.php$) {
root /var/www/content;
expires 30d;
break;
}
proxy_set_header Client-IP $remote_addr;
proxy_pass http://127.0.0.1:9090;
}