Settings in the Frontend Web Server
To enable the Intrexx Portal Server to send WebSocket messages to the browser, you must configure the appropriate settings on the front-end web server.
Detailed information on the topic of "front-end web servers" can be found in the following chapters:
IIS - Internet Information Services
In IIS (Internet Information Services), add the "WebSocket Protocol" feature.
For more information about IIS features, see the section " Adding IIS Features."
NGINX
To ensure that WebSocket functionality works in conjunction with NGINX, you must specify in the NGINX configuration file which URLs should be forwarded to the backend via the WebSocket protocol. In the default configuration, this looks like this:
...
# Delegate WebSocket requests to the Intrexx Portal Service.
#
location /ws/ {
proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
# Delegate requests to the Intrexx Portal Service.
#
location / {
proxy_pass http://backend;
...
Note: The configuration shown above assumes that NGINX and the portal are running on the same system. If NGINX and the portal are running on different systems and communicate securely, you must replace "http" with "https" in the configuration.
For more information on configuring NGINX, see the " Configuring NGINX" section.
