Skip to content

honzahommer/verdaccio-https

Repository files navigation

verdaccio-https

🛡🔬 verdaccio middleware plugin to redirect to https if x-forwarded-proto header is set

verdaccio (latest) build status MIT node Greenkeeper badge

Where it All Began

I have verdaccio running in a container on heroku running in http but can be accessed through SSL using their reverse proxy. Their method of forcing redirect to https is like this... verdaccio/verdaccio#1305

Requirements

 npm install --global verdaccio-https

Usage

To enable it you need to add this to your configuration file.

middlewares:
  https:
    enabled: true

License

MIT (http://www.opensource.org/licenses/mit-license.php)