1 Reply Latest reply: Jul 16, 2015 9:57 AM by alexander korsikov RSS

    direct access to the application

    alexander korsikov

      hi everyone!

      Please help me solve this problem. I want to at the opening of the virtual proxy instead of a hub with a list of applications to open applications at once.

      Option to nginx not offer.

      for example

      I'm open link bi.demo.org

      Opened hub with one application and link bi.demo.org/hub/stream/aaec8d41-5201-43ab-809f-3063750dfafd

      but I want to open directly application

      bi.demo.org/sense/app/2bcc8930-ce90-4b25-ba44-f2a02c6ae4e1/sheet/AEKDQfe/state/analysis

       

      how i can do this?

       

      Of course, I try to use a proxy server nginx.

      anyone  know another way?

        • Re: direct access to the application
          alexander korsikov

          I was able to be implemented using nginx

          continue to give an example configuration

          Qlik Sense server proxy listen on port 81

          nginx.conf

          server{

                  listen 11.22.33.44:80;

                  server_name bi.demo.org;      

                  location /sense{

                          proxy_pass http://bi.demo.org:81/sense;

                          proxy_set_header Host $host;

                          proxy_set_header X-Real-IP $remote_addr;

                          proxy_set_header Upgrade $http_upgrade;

                          proxy_set_header Connection "upgrade";

                          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                          proxy_max_temp_file_size 0;

                          proxy_connect_timeout 15;

                          proxy_read_timeout 950s;

                          proxy_http_version 1.1;

                  }

                  location /resources{

                          proxy_pass http://bi.demo.org:81/resources;

                          proxy_set_header Host $host;

                          proxy_set_header X-Real-IP $remote_addr;

                          proxy_set_header Upgrade $http_upgrade;

                          proxy_set_header Connection "upgrade";

                          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                          proxy_max_temp_file_size 0;

                          proxy_connect_timeout 15;

                          proxy_read_timeout 950s;

                          proxy_http_version 1.1;

                  }

              location /app{

                          proxy_pass http://bi.demo.org:81/app;

                          proxy_set_header Host $host;

                          proxy_set_header X-Real-IP $remote_addr;

                          proxy_set_header Upgrade $http_upgrade;

                          proxy_set_header Connection "upgrade";

                          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                          proxy_max_temp_file_size 0;

                          proxy_connect_timeout 15;

                          proxy_read_timeout 950s;

                          proxy_http_version 1.1;

                  }

            location /content{

            proxy_pass http://bi.demo.org:81/content;

            }

          # for Virtual proxy  "w"

                location /w{

                          proxy_pass http://bi.demo.org:81/w;

                          proxy_set_header Host $host;

                          proxy_set_header X-Real-IP $remote_addr;

                          proxy_set_header Upgrade $http_upgrade;

                          proxy_set_header Connection "upgrade";

                          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                          proxy_max_temp_file_size 0;

                          proxy_connect_timeout 15;

                          proxy_read_timeout 950s;

                          proxy_http_version 1.1;

                  }

          location /{

          return 302 http://bi.demo.org/sense/app/2bcc8930-ce90-4b25-ba44-f2a02c6ae4e1/sheet/HbXjQep/state/analysis;

          }

          }