Last active
November 11, 2019 11:23
-
-
Save mcupak/e148428e84a095ba13770007f8d868e7 to your computer and use it in GitHub Desktop.
Configuring WildFly behind a reverse proxy with TLS - https://mirocupak.com/configuring-wildfly-behind-a-reverse-proxy-with-tls/
This file contains 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
# WildFly reverse proxy setup script. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=ssl.cli | |
batch | |
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=redirect-socket,value=proxy-https) | |
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=proxy-address-forwarding,value=true) | |
/socket-binding-group=standard-sockets/socket-binding=proxy-https:add(port=443) | |
run-batch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment