drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

nginx: [emerg] no port in upstream "www0" in /etc/nginx/php_fpm_status_vhost.con

Open fayena opened this issue 11 years ago • 2 comments
trafficstars

I am attempting to update my server with a newer version of Perusio's config and I was getting this error "nginx: [emerg] no port in upstream "www0" in /etc/nginx/php_fpm_status_vhost.conf"

I replaced php_fpm_status_vhost.conf with the older version that I had and the error went away. The difference in the two files is that the old file (the one that works) has "fastcgi_pass phpcgi;" while the new file (with error) has "fastcgi_pass www0;"

Can someone explain to me the what is happening and what I need to do to fix it?

fayena avatar Feb 11 '14 22:02 fayena

Sure. It means that nginx cannot find an upstream named www0. The upstream configurations were missing. I just pushed the fix. Try it out please.

Thanks

perusio avatar Feb 13 '14 21:02 perusio

That worked! I do want to let you know there is an extra ";" on line 47 of upstream_phpcgi_unix.conf

Thank you for the help

fayena avatar Feb 15 '14 15:02 fayena