Problem configuring Nginx to host SpreeCommerce - 502 error

mex nginx-forum at nginx.us
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:
> http://www.ruby-forum.com/attachment/8205/nginx.conf
> 
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236971,237153#msg-237153



More information about the nginx mailing list