rackbox-cookbook icon indicating copy to clipboard operation
rackbox-cookbook copied to clipboard

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

Open hayesmp opened this issue 11 years ago • 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.

hayesmp avatar Jul 09 '13 22:07 hayesmp

Thanks @hayesmp I will look into the problem.

teohm avatar Jul 11 '13 04:07 teohm

Just ran into this myself.

austinmills avatar Nov 13 '14 02:11 austinmills

@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

hayesmp avatar Nov 13 '14 02:11 hayesmp

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

austinmills avatar Nov 13 '14 02:11 austinmills

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 [email protected] 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 https://github.com/teohm/rackbox-cookbook/issues/12#issuecomment-62832263 .

Huiming

teohm avatar Nov 13 '14 03:11 teohm