Settings in the front end web server
So that WebSocket messages can be sent from the Intrexx Portal Server to the browser, the corresponding settings need to be made in the front-end web server.
You will find detailed information on the subject of "Front-end web server" in the following chapters:
- Internet Information Server
Add the "WebSocket protocol" feature to the IIS (Internet Information Services).
Further information on the IIS features can be found in section Adding IIS features.
NGINX
So that WebSockets can be used in combination with NGINX, you need to specify which URLs should be forwarded to the back end via WebSocket protocol in the NGINX configuration file. This looks like this for the default configuration:
...
# 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 Portal run on different systems and communicate in encrypted form, you must replace "http" with "https" in the configuration.
Further information on configuring NGINX can be found in section Configuring NGINX.