nginx configuration - sharetronix

Francis Daly francis at daoine.org
Wed Nov 19 17:39:54 UTC 2014


On Mon, Nov 03, 2014 at 01:40:33AM -0500, Replace wrote:

Hi there,

> i try to setup sharetronix on my vps server, with nginx + php5-fpm. The
> problem is (maybe) my nginx configuration, when i try to view website, i get
> error 404 - No input file specified.

What request do you make, and what response do you expect?

I suspect that you want fastcgi_index (http://nginx.org/r/fastcgi_index)
in your config to handle requests that end in "/".

Note that many php applications work with an nginx config that does not
use "if" inside "location"; instead they use "try_files". That maybe
worth considering, after you get the basic part working.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list