drupal-with-nginx
drupal-with-nginx copied to clipboard
nginx: [emerg] no port in upstream "www0" in /etc/nginx/php_fpm_status_vhost.con
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?
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
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