A reverse-proxy is usually used to give a single one-point access to different services or applications. It is also used to handle TLS connections and then the required certificates.
The configuration of Silverpeas behind an Apache or an Nginx reverse-proxy is quite straightforward.
In this example we want to configure a reverse-proxy that is handling TLS and proxyfying a Silverpeas running in a Wildfly server
on port 8000.
Defines the configuration of your site as following. The [...] means your own specific configuration for your site and that isn't covered by this document.
Defines the configuration of your site as following. The [...] means your own specific configuration for your site and that isn't covered by this document.
Now, you just have to update one attribute of the HTTP listener of the Undertow Web server embedded in Wildfly. For doing,
go to the JBOSS_HOME/bin
directory and, run Wildfly in administration mode only, enable the proxy forwarding and then stop Wildfly:
Now, you just have to create a configuration for a socket binding to handle TLS connections (here proxy-https
) and then update the HTTP listener of the Undertow Web server embedded in Wildfly. For doing,
go to the JBOSS_HOME/bin
directory and, run Wildfly in administration mode only, create and use a socket binding for TLS connections, and enable the proxy forwarding, and then stop Wildfly: