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

Add temporary protected fetch solution by leveraging web server's HTTP Basic Auth #80

Conversation

taonic
Copy link

@taonic taonic commented Mar 12, 2016

As discussed here: #24 (comment)

/cc @smellsblue

Private gems often require protected fetching. While the feature is still being discussed at here: https://github.com/bundler/gemstash/issues/24, a temporary solution is available through configuring web server.

Depends on your choice of the web server, for example, Nginx has a `basic_auth` module, which helps to setup HTTP Basic Authentication. On the Bundler side, HTTP Basic Auth credentials can be configured through: http://bundler.io/man/gemfile.5.html#CREDENTIALS-credentials

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also provide a sample on how to setup a basic auth? (rather than pointing to the manual)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pcarranza Sure thing. Please let me know if this helps: taonic@35d5ef8

@taonic taonic force-pushed the add_temporary_http_basic_auth_solution_to_private_gem_readme branch from c599aab to 7dfecde Compare March 13, 2016 03:42
@taonic taonic force-pushed the add_temporary_http_basic_auth_solution_to_private_gem_readme branch from 7dfecde to 35d5ef8 Compare March 13, 2016 03:44
@taonic
Copy link
Author

taonic commented Mar 22, 2016

@pcarranza @smellsblue How do you think about the new doc section?

@smellsblue
Copy link
Contributor

Looks good to me! Thanks for the work!

@smellsblue smellsblue merged commit aed1085 into rubygems:master Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants