Re: nginx: [emerg] invalid host in upstream

2013-03-14 Thread Wolfsrudel
I don't think that you can use a path behind the server. The Upstream server is a server name itself (with port), not with something like "/something" at the end. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237358,237364#msg-237364 ___ ngi

Re: 502 bad gateway error with php5-fpm on Debian 7

2013-02-21 Thread Wolfsrudel
Can you please do a `grep 'fastcgi_pass ' /etc/nginx/*/*` and post the output? Maybe there are other configuration files with a fefault 'fastcgi_pass' which overwrites your vhost. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236396,236415#msg-236415 __

Re: 502 bad gateway error with php5-fpm on Debian 7

2013-02-21 Thread Wolfsrudel
Dump question, but why did you put the vhost-files into "conf.d"? Normally they are stored in "sites-available" and symlinked in "sites-enabled". nginx (as apache) uses this directory to read all information about the vhosts. Are there any templates in "sites-enabled"? How do they look like? Poste