Re: Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-07 Thread Joseph O.
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 cust

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-06 Thread Joseph O.
*sigh* Clearly I am missing something here, as the only nginx.conf file I have is the one I posted last night. There is no upstream server; the code for that was from the example config file I was trying to modify for my purposes. It seems that this copypasta approach isn't adequate for setting

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-06 Thread Joseph O.
I'm not sure what you mean here; Which aspects of the actual configuration? The Capistrano deployment, the Unicorn.rb file, or some other part of the Nginx configuration? I've attached the former two, with the sensitive data masked out of course, but I'm not certain what else you would need. I did

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-06 Thread Joseph O.
Ah, thank you. Removing the site configuration file did fix the gateway error, but now the server is still pointing at the default Nginx welcome page. Can you (or anyone else here) give me any advice on how to get the server to point to my actual service? BTW, you pointed out that there was an ups

Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-05 Thread Joseph O.
I have had a terribly difficult time deploying SpreeCommerce, despite (or perhaps because of) following the Spree documentation. I have eventually gotten to the point where the Capistrano deployment runs through entirely, but I seem to have configured Nginx incorrectly, as I am getting a "502 - Bad