Wai middleware enforcing HTTPS protocol on any incoming request. In case of non-encrypted HTTP, traffic is redirected using 301 Permanent Redirect or optionally 307 Temporary Redirect. Middleware has compatibility modes for various reverse proxies (load balancers) and therefore can be used with Heroku, Google Cloud (Ingress), Azure or any other type of PAS or Cloud provider.
Revision history for wai-enforce-https
0.0.2 – 2020-03-01
- Make Config record field strict
- Add INLINE directive to some functions
- Improve documentation
0.0.1 – 2019-01-19
- First version. Released on an unsuspecting world.