Using the rewriter
element, we can easily redirect to SSL.
<api host="www.server.com">
<rewriter>
<map from="/(.*)" to="https://www.server.com/$1" />
</rewriter>
<target url="backend" />
</api>
if | Example | Documentation |
rewriter | Example | Documentation |