Help needed with configuration

2015-03-19 Thread Ian
Hi, I have the following configuration. Why are a missing .html file, and the requests for favicon.ico (also missing), all result in a "bad gateway" error.? The error log shows that the request is passed to uwsgi, which is aborting 502. I would have expected the last two configurations to b

Re: Help needed with configuration

2013-07-18 Thread Ian Hobson
Hi Mex, Thanks for your interest. On 18/07/2013 11:39, mex wrote: iirc there is something with the order/length of location $var {} - content. I have tried moving the location / to the first position, but that changed nothing. is there an index.php in /home/ian/websites/reseller/htdocs? No,

Re: Help needed with configuration

2013-07-18 Thread mex
iirc there is something with the order/length of location $var {} - content. is there an index.php in /home/ian/websites/reseller/htdocs? what is the dir_permissions from /home/ian/websites/reseller/htdocs? what are the file_permissions for /home/ian/websites/coachmaster3dev/htdocs/index.php? wha

Help needed with configuration

2013-07-18 Thread Ian Hobson
Hi All, I am trying to set up Nginx for a reseller scenario. The reseller will get his own root, and be able to create his versions of any file on the site, or, by leaving the file out, simply have the basic one used instead. My test configuration is below, and it so nearly works! The URL