使用<filters>尝试Wildfly http到https <rewrite name =“ http-to-https” redirect =“ true” target =“ https:// myhostname:8443%U”> </rewrite> </filters>

时间:2018-07-30 13:59:43

标签: spring ssl https jboss wildfly-10

我正在使用Wildfly,并尝试使用

从http重定向到https
<filters> 
   <rewrite name="http-to-https" redirect="true" target="https://myhostname:8443%U"/> 
</filters>

但是查询参数丢失了。 如果我有要求,例如 https://my.website:8443/myapp/test?par1=par1 它被重定向到 https://my.website:8443/myapp/test

如何解决此问题?

0 个答案:

没有答案