星期日, 4月 10, 2011

Some settings of Plack/PSGI + FastCGI/FCGI + nginx...

If you found your Plack/PSGI application doesn't work in FastCGI (FCGI) mode, You might need to check the settings of nginx, to add extra environment to tell application correct path:
include fastcgi_params;
fastcgi_param   SCRIPT_NAME     "";
fastcgi_param   PATH_INFO       $uri;
It would be nice if you have better solution :-)

沒有留言: