How to run JBoss BPM Suite behind Nginx Reverse Proxy

If you are successfully install Red Hat JBoss BPM Suite and put them behind the NGINX Reverse Proxy. You may stuck when you trying to login to kie workbench.

The problem is after input the username/password and press ‘Enter’, it never bring up the Kie Workbench page, it always showing “Please wait, Loading Application”

The key was that the one that is hanging is a Websockets Connection

Here is my nginx configuration to solve the problem

server {

listen 80;
server_name bpms.mydomain.com;

location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:8086;
proxy_read_timeout 90;

proxy_redirect http://127.0.0.1:8086 http://bpms.mydomain.com;
}
}

Hope this help 😉

0 thoughts on “How to run JBoss BPM Suite behind Nginx Reverse Proxy”

Leave a Reply

Your email address will not be published. Required fields are marked *