wai-enforce-https: Enforce HTTPS in Wai server app safely.
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.
[Skip to Readme]
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| examples | Build example projects | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- wai-enforce-https-0.0.2.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0.1, 0.0.2, 0.0.2.1, 1.0.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4 && <5), bytestring, case-insensitive, http-types, network, text, wai, wai-enforce-https, warp, warp-tls [details] |
| Tested with | ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3, ghc ==8.4.4, ghc ==8.6.5 |
| License | BSD-3-Clause |
| Author | Marek Fajkus |
| Maintainer | marek.faj@gmail.com |
| Uploaded | by MarekFajkus at 2020-03-09T09:27:33Z |
| Category | Web |
| Home page | https://github.com/turboMaCk/wai-enforce-https |
| Source repo | head: git clone https://github.com/turboMaCk/wai-enforce-https.git |
| Distributions | LTSHaskell:1.0.0.0, NixOS:1.0.0.0, Stackage:1.0.0.0 |
| Executables | example-proxy, example-tls |
| Downloads | 2035 total (10 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2020-03-09 [all 1 reports] |