【发布时间】:2014-08-19 10:43:36
【问题描述】:
所以我让这个应用程序在使用 wildfly 8.1 墨盒的 openshift 上运行。 我想强制所有网址通过 https 而不是 http。
Https 工作正常,但我也可以使用 http 访问相同的页面。这是我要禁用的。
我找到了这篇知识库文章:https://www.openshift.com/kb/kb-e1044-how-to-redirect-traffic-to-https 但这并没有描述 Wildfly 特定的配置。
这是我在 openshift 上来自 wildfly 的standalone.xml 配置:http://pastebin.com/hg7WY5Uj
【问题讨论】: