Documentation

Hale.WaiExtra.Network.Wai.Middleware.Approot

Middleware that sets the approot vault key based on request headers. Useful for applications behind reverse proxies. $$\text{approotMiddleware} : \text{String} \to \text{Middleware}$$ The provided function determines the approot from the request.

Equations
Instances For

    Get the approot from a request, considering X-Forwarded-Proto and Host.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For