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

Safe HaskellNone
LanguageHaskell98

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