teohm/rackbox-cookbook

nginx can't load the deployed rails app because of a default configuration left in 'sites-enabled'

hayesmp opened this issue · 5 comments

There is a default sym-link ('000-default') in the /etc/nginx/sites-enabled directory that super-cedes the deployed rails app configuration. It needs to be deleted in order for nginx to load the rails app.

Thanks @hayesmp I will look into the problem.

Just ran into this myself.

@austinmills I added a block to delete the file in my fork of the cookbook:

https://github.com/hayesmp/rackbox-cookbook/blob/master/libraries/helpers.rb#L88

Yeah, I pretty much did the same thing, but thought I'd ping the issue anyway to give it a little more weight. :)

Hey Austin and Michael, thanks for patching the cookbooks :)

Currently I don't have time to maintain the cookbooks, I wonder if anyone
interested to take over the project? We can chat more about the details to
transfer the ownership.

On Thu, Nov 13, 2014 at 10:41 AM, Austin Mills notifications@github.com
wrote:

Yeah, I pretty much did the same thing, but thought I'd ping the issue
anyway to give it a little more weight. :)


Reply to this email directly or view it on GitHub
#12 (comment)
.

Huiming