Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
excelledia
Contributor
Contributor

http redirect

Hi Team, 

We have configured SSL in our qlik server. 

We are facing issue with http redirect. When we type the Qlik url its automatically goes to http://domain.com .

How to redirect  into https.

we have followed the below steps. But its not worked

1. Create a folder named route2https in C:\Program Files\Qlik\Sense\ServiceDispatcher\Node\
2. Create server.js file in the route2https folder, paste this code in to it and save:

// Redirect from http port 80 to https
var http = require('http');
http.createServer(function (req, res) {
   res.writeHead(301, { "Location": "https://" + req.headers['host'] + req.url });
   res.end();
}).listen(80);

3. Edit C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf file and paste the following code into it at the end:

[httproute]
Identity=Qlik.httproute
Enabled=true
DisplayName=httproute
ExecType=nodejs
ExePath=Node\node.exe
Script=Node\route2https\server.js

4. Restart the Qlik Sense Service Dispatcher service

Labels (1)
  • QMC

1 Reply
Maria_Halley
Support
Support

@excelledia

 

QlikSense uses HTTPS by default and HTTP is not allowed, have you turned it on? If so, what happens when you turn it off? 

 

QlikSense should not behave this way. We should not any redirect at all.

Are you sure that it is QlikSense Proxy that does the redirect?