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
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