https://github.com/honzahommer/verdaccio-https
verdaccio middleware plugin to redirect to https
https://github.com/honzahommer/verdaccio-https
express-middleware https-redirect verdaccio verdaccio-heroku verdaccio-plugin
Last synced: 9 months ago
JSON representation
verdaccio middleware plugin to redirect to https
- Host: GitHub
- URL: https://github.com/honzahommer/verdaccio-https
- Owner: honzahommer
- License: mit
- Created: 2019-05-11T09:01:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-10T06:41:57.000Z (about 1 year ago)
- Last Synced: 2025-03-18T15:49:59.511Z (9 months ago)
- Topics: express-middleware, https-redirect, verdaccio, verdaccio-heroku, verdaccio-plugin
- Language: TypeScript
- Size: 2.04 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# verdaccio-https
🛡🔬 verdaccio middleware plugin to redirect to https if x-forwarded-proto header is set
[](https://www.npmjs.com/package/verdaccio-https)
[](http://travis-ci.org/honzahommer/verdaccio-https)

[](https://www.npmjs.com/package/verdaccio-https)
[](https://greenkeeper.io/)
## 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
* [verdaccio@3.x or higher](https://verdaccio.org)
```
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)