我已经将我当前的网站(从JBOSS7)移植到了wildfly。但是使用wildfly,我无法在firefox&铬。wildfly Undertow实现有什么问题吗?或者除了默认配置之外,我是否需要为此做任何额外的配置。
旁注:我的上下文是HTTPS重定向,下面是我的standalone.xml文件的片段。
<security-realm name="MyRealm">
<server-identities>
<ssl>
<keystore relative-to="jboss.server.config.dir" path=".keystore"
keystore-password="changeit"/>
</ssl>
</server-identities>
</security-realm>
</security-realms>
<subsystem xmlns="urn:jboss:domain:undertow:1.1">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http"/>
<https-listener name="https" socket-binding="https" security-realm="MyRealm"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
</server>
<servlet-container name="default">
<jsp-config/>
</servlet-container>
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
<filters>
<response-header name="server-header" header-name="Server" header-value="WildFly/8"/>
<response-header name="x-powered-by-header"
header-name="X-Powered-By" header-value="Undertow/1"/>
</filters>
</subsystem>
Any help is highly appreciated.
Thanks in advance.
Venkat
将"redirect socket="https"添加到您的http连接器。