Problem configuring Nginx to host SpreeCommerce - 502 error

mex nginx-forum at
Sat Mar 9 09:14:46 UTC 2013

ok,your config is a little confused.

in your @ruby - part you should proxy_pass to your unicorn - server
proxy_pass        http://unicorn_server;
(thats why you put your definition there :)

> OK, so I've gone through the documentation on the Nginx wiki, and I 
> still only have a minimal grasp on how to configure the it to serve 
> Spree via Unicorn. Things are now back where they started (with a 502 
> error), but I am making some progress, however, in that the server now
> points to the custom error pages I made, rather than the default ones.
> Oh well...
> Attached is the current version of my nginx.conf file.

> Attachments:
> -- 
> Posted via
> _______________________________________________
> nginx mailing list
> nginx at

Posted at Nginx Forum:,236971,237153#msg-237153

More information about the nginx mailing list