Created
September 22, 2015 14:48
-
-
Save rzymek/fe212309ae69c3eb10fa to your computer and use it in GitHub Desktop.
wildfly 9 undertow reverse-rpoxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:undertow:2.0"> | |
<handlers> | |
<reverse-proxy name="my-handler"> | |
<host name="slave-1" outbound-socket-binding="http-s1"/> | |
<host name="slave-2" outbound-socket-binding="http-s2"/> | |
</reverse-proxy> | |
</handlers> | |
... | |
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}"> | |
... | |
<outbound-socket-binding name="http-s1"> | |
<remote-destination host="s1" port="8080"/> | |
</outbound-socket-binding> | |
<outbound-socket-binding name="http-s2"> | |
<remote-destination host="s2" port="8080"/> | |
</outbound-socket-binding> | |
</socket-binding-group> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use SSL configuration?
UT000065: SSL must be specified to connect to a https URL