1 Reply Latest reply on Jan 21, 2016 4:26 PM by Gal Nitzan

    [BPMS] kie workbench does not work behind of nginx reverse proxy

    Pokpitch Patcharadamrongkul Newbie

      I successfully setup BPMS on EAP 6.4 and can access it via port 8086 (login, import 'Evaluation' demo, and start process instance, check status, etc.), which means it's functional working.

      then i tried to setup nginx in front of BPMS as the reverse proxy, i can load the login page via port 80, but the problem is after i input the username/password and press 'enter', it never bring up the Kie workbench page, it always showing "please wait, loading appliation" do you have any idea how could this happened? thanks in advanced!

        • 1. Re: [BPMS] kie workbench does not work behind of nginx reverse proxy
          Gal Nitzan Newbie

          Hi,

          I run the jbpm workbench behind nginx reverse proxy.

          This setup may work for you:

           

            location /jbpm-console/ {

              gzip off;

              proxy_read_timeout      300;

              proxy_connect_timeout   300;

              proxy_redirect          off;

           

              proxy_http_version 1.1;

           

              proxy_set_header    Host                    $http_host;

              proxy_set_header    X-Real-IP               $remote_addr;

              proxy_set_header    X-Forwarded-Ssl         on;

              proxy_set_header    X-Forwarded-For         $proxy_add_x_forwarded_for;

              proxy_set_header    Upgrade                 $http_upgrade;

              proxy_set_header    Connection              "upgrade";

              proxy_set_header    X-Forwarded-Proto       https;

           

              proxy_pass http://127.0.0.1:8080/jbpm-console/;

            }