fastcgi_pass php;
hiCode: [Select]fastcgi_pass php;but there is no 'php' upstream
upstream php { server unix:/tmp/php-cgi.socket; server 127.0.0.1:9000;}
sorryyou haveCode: [Select]fastcgi_pass php;directive on "404"'s servers php-locations blocks. like on nginx help page:https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/but they use upstream for this:Code: [Select]upstream php { server unix:/tmp/php-cgi.socket; server 127.0.0.1:9000;}for fastcgi_pass diretive you can use Upstream name, FastCGI server address or UNIX-domain socket path (like you do on other server).AFAIK when configured via GUI OPN nginx sets fastcgi_pass to 'unix:/var/run/php-www.socket;'
in HAProxy I could run all the sites on port 80/443. It seems here I need to put them on different ports?
Quotein HAProxy I could run all the sites on port 80/443. It seems here I need to put them on different ports?no no. you still can use one port for multiple sites. i am just pointing out the error in the fastcgi_pass directive - you directed it to a non-existent upstream and this and of course it's worth looking into the logs when something goes wrongServices: Nginx: Logs - HTTP Error logs
Where should I pull from?