🛡🔬 verdaccio middleware plugin to redirect to https if x-forwarded-proto header is set
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
npm install --global verdaccio-https
To enable it you need to add this to your configuration file.
middlewares:
https:
enabled: true