how many instances of "e" are there in:
q: nginx bad gateway and connection errors i've followed this tutorial for a basic installation of nginx.
i always get bad gateway errors and when i look at the logs i see : 

[error] 3226#0: *1 connect() failed (111: connection refused) while connecting to upstream, client

here is my nginx.conf and contents of my sites-available/defaults
nginx.conf,
defaults
i am also seeing this error : 

conflicting server name "explorable.com" on 0.0.0.0:80, ignored

i am using ubuntu 12.04, php5-fpm
thank you!

a: check if php-fpm is really running with e.g. ps aux | grep php. you can start and stop php-fpm with /etc/init.d/php-fpm start|stop|restart.

user
I counted forty-four "e"s in that text.
assistant