Skip to content

Instantly share code, notes, and snippets.

@mcupak
Last active November 11, 2019 11:23
Show Gist options
  • Save mcupak/e148428e84a095ba13770007f8d868e7 to your computer and use it in GitHub Desktop.
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/
# 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