How to Redirect to SSL

Using the rewriter element, we can easily redirect to SSL.

Ingredients

Configuration

<api host="www.server.com">
    <rewriter>
        <map from="/(.*)" to="https://www.server.com/$1" />
    </rewriter>
    <target url="backend" />
</api>

Resources

if Example Documentation
rewriter Example Documentation