0

異なる IP で 2 つのインターフェイスを使用し、異なるドメインに異なる ssl 証明書を送信するために、2 つの異なる内部 wildfly undertow サブシステムがあります。

        <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>

インターフェイスとソケットバインディングでこの構成と他の構成を使用することにより、環境を正しく設定しました。

しかし問題は、EAR ファイルをホスト server.mydomain.com 内の default-server_secondary にデプロイすることです。

方法?

ありがとうございました

4

1 に答える 1