Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-14T06:06:55.000Z (2 months ago)
- Last Synced: 2024-11-01T03:35:45.876Z (about 2 months ago)
- Topics: express-middleware, https-redirect, verdaccio, verdaccio-heroku, verdaccio-plugin
- Language: TypeScript
- Size: 1.91 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 38
-
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[![verdaccio (latest)](https://img.shields.io/npm/v/verdaccio-https/latest.svg)](https://www.npmjs.com/package/verdaccio-https)
[![build status](https://img.shields.io/travis/honzahommer/verdaccio-https/master.svg)](http://travis-ci.org/honzahommer/verdaccio-https)
![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)
[![node](https://img.shields.io/node/v/verdaccio-https/latest.svg)](https://www.npmjs.com/package/verdaccio-https)
[![Greenkeeper badge](https://badges.greenkeeper.io/honzahommer/verdaccio-https.svg)](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
* [[email protected] 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)