Welcome! Log In Create A New Profile

Advanced

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

March 09, 2013 04:14AM
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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

Problem configuring Nginx to host SpreeCommerce - 502 error

Joseph O.March 05, 2013 09:58PM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

mexMarch 06, 2013 01:07AM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

Joseph O.March 06, 2013 09:54AM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

mexMarch 06, 2013 11:33AM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

Joseph O.March 06, 2013 11:56AM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

mexMarch 06, 2013 03:04PM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

Joseph O.March 06, 2013 05:16PM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

mexMarch 07, 2013 03:26AM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

Joseph O.March 07, 2013 07:00PM

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

mexMarch 09, 2013 04:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready