...
All requests to the jtel webservers must include the https protocol in the URI.
Because of redirections which are made in the web application, it is necessary to inform the web server that the redirected URL should refer to https and not http.
This is achieved using the X-Forwarded-Proto header in most webservers. Wildfly can do this. However, JBOSS does not do this correctly and so haproxy must be configured to perform this task.
JBOSS
When running JBOSS webservers, add the following to haproxy.cfg in the backend configuration section for jtel_portal and jtel_soap
http-response replace-header Location http:(.*) https:\1
...