wai-extra-3.0.24.3: Provides some basic WAI handlers and middleware.

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.ForceSSL

Description

Redirect non-SSL requests to https

Since 3.0.7

Synopsis

Documentation

forceSSL :: Middleware Source #

For requests that don't appear secure, redirect to https

Since 3.0.7