BSD-3-Clause licensed by Marek Fajkus
Maintained by
This version can be pinned in stack with:wai-enforce-https-0.0.2@sha256:8f469184ec8241116dbdd2ad9ab53d6d1ce446b55b8d1d9c1562a85e99c13bc6,3246

Module documentation for 0.0.2

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.