Skip to main content
Skip table of contents

Setting Up the X4 Server for the Usage of a Reverse Proxy Server

When using a proxy server to make a Web App with the associated Keycloak available via the Internet, the reverse proxy server needs to be configured in Keycloak and X4 WildFly.

Requirement

  • You use a reverse proxy server.

To set up WildFly for the use of your reverse proxy server

  1. Open the standalone.xml in the <server_directory>\wildfly\standalone\configuration folder.
  2. Search for http-listener.
  3. Change the entry redirect-socket="https" to redirect-socket="proxy-https.
  4. Add the entry proxy-address-forwarding="true".
    After your changes, the line must look as follows:

    XML
    <http-listener name="default" socket-binding="http" redirect-socket="proxy-https" enable-http2="true" proxy-address-forwarding="true"/>
  5. Search for socket-binding-group.

  6. Add the following line: 

    XML
    <socket-binding name="proxy-https" port="443"/>
  7. Save the file.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.