我使用重写过滤器配置了我的wildfly 11安装,使其从http重定向到https。如下所述:Redirect http requests to https in wildfly 10
<filters>
<rewrite name="http-to-https" redirect="true" target="https://%v:443%U"/>
</filters>和
<filter-ref name="http-to-https" predicate="equals(%p,80)"/>这对于GET请求非常有效,但是如果我尝试POST请求,我会得到
405 Method not allowed有谁知道如何配置重写筛选器以使用消息类型(%m,http://undertow.io/undertow-docs/undertow-docs-1.4.0/index.html)
谢谢!
https://stackoverflow.com/questions/50582206
复制相似问题