Nginx setup with fastcgi backend


Hi, I’m setting up piwik on nginx using php fpm (a fastcgi backend). Currently, all URLs are sent to fpm via fcgi, including static files, which replies with “Content-Type: text/html” for everything (notably, non-html content). Any configuration advice here? Should I be configuring nginx to handle all non-.php URLs and only sending .php URLs to fpm?

(Thomas Seifert) #2

Obviously, YES!
Thats how its running here without troubles.