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

Set Unicorn environment according to RACK_ENV #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tensho
Copy link

@Tensho Tensho commented May 9, 2017

There are plenty of non-Rails applications (Grape, Sinatra, etc.) that could be served with Unicorn help. It seems to me relying on RACK_ENV as the more general sign may help in such a case. Also, I don't understand the purpose of "deployment" default option. I mean I understand, that it corrects default rack stack to use the only Rack::CommonLogger middleware, but I have never seen such setup in live. Usually people run staging or production envs within deployment.

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
@Tensho
Copy link
Author

Tensho commented Feb 16, 2018

@ahorner, Please, could you give any idea, does it make sense?

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

Successfully merging this pull request may close these issues.

None yet

1 participant