wai-extra-3.0.7.1: Provides some basic WAI handlers and middleware.
Network.Wai.Middleware.ForceSSL
Description
Redirect non-SSL requests to https
Since 3.0.7
Synopsis
forceSSL :: Middleware Source
For requests that don't appear secure, redirect to https