Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hayesmp opened this issue Jul 9, 2013 · 5 comments

Comments

@hayesmp
Copy link

hayesmp commented Jul 9, 2013

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.

@teohm
Copy link
Owner

teohm commented Jul 11, 2013

Thanks @hayesmp I will look into the problem.

@austinmills
Copy link

Just ran into this myself.

@hayesmp
Copy link
Author

hayesmp commented Nov 13, 2014

@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

@austinmills
Copy link

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

@teohm
Copy link
Owner

teohm commented Nov 13, 2014

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
#12 (comment)
.

Huiming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants