JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q51713F
  • License MIT

verdaccio middleware plugin to redirect to https

Package Exports

  • verdaccio-https

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (verdaccio-https) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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... https://github.com/verdaccio/verdaccio/issues/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)