wai-extra-3.1.13.0: Provides some basic WAI handlers and middleware.
Safe HaskellSafe-Inferred
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