i configured my wildfly 11 installation with rewrite filters to redirect from http to https. As described there: Redirect http requests to https in wildfly 10
<filters>
<rewrite name="http-to-https" redirect="true" target="https://%v:443%U"/>
</filters>
And
<filter-ref name="http-to-https" predicate="equals(%p,80)"/>
This works perfectly for GET Requests, but if i try a POST request i get
405 Method not allowed
Does anybody know how to configure the rewrite filter to use the message type (%m, http://undertow.io/undertow-docs/undertow-docs-1.4.0/index.html)
Thank you!