htpasswd-buildpack

by MakairaIO

README.md

htpasswd buildpack

This buildpack creates a .htpasswd file inside the config directory when the nginx buildpack is used and if a nginx.conf.erb is inside the config directory present. The data is retrieved from the HTPASSWD environment variable.

Multiple user/password combinations separated with ;

CLI Installation

For new applications:

$ heroku create --buildpack https://github.com/MakairaIO/htpasswd-buildpack.git

For existing applications:

$ heroku buildpacks:set https://github.com/MakairaIO/htpasswd-buildpack.git -a YOUR_APP_NAME