Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>