我有两个不同的内部wildfly底层子系统,以便在不同的ip上使用两个接口,并为不同的域发送不同的ssl证书
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http"/>
<https-listener name="https-listener" socket-binding="https" security-realm="https_realm1"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<access-log pattern="common" directory="${jboss.server.log.dir}" prefix="access"/>
</host>
</server>
<server name="default-server_secondary">
<http-listener name="default_secondary" socket-binding="http_secondary"/>
<https-listener name="https-listener_secondary" socket-binding="https_secondary" security-realm="realm2"/>
<host name="server.mydomain.com" alias="server.mydomain.com">
<location name="/" handler="welcome-content"/>
<access-log pattern="common" directory="${jboss.server.log.dir}" prefix="access_secondary"/>
<filter-ref name="server-header1"/>
</host>
</server>通过在接口和套接字绑定上使用此配置和其他配置,我正确地设置了我的环境。
但问题是在主机server.mydomain.com内部的default-server_server中部署EAR文件。
怎么做?
谢谢
发布于 2014-09-08 16:45:11
我解决了它。
在WAR模块中制作和编辑jboss-web.xml
default-server\_secondary server.mydomain.comhttps://stackoverflow.com/questions/25701199
复制相似问题