Return 301 and redirect to HTTPS

Solved!
Benoni
Level 3
Return 301 and redirect to HTTPS

Hey guys,



I asked my original question here but i think you got me wrong:



https://answers.dataiku.com/5456/redirect-http-to-https-implement-hsts?show=5457#a5457



I have a valid certificate and the server accepting HTTPS connections at port 11200. If i redirect HTTP connections from 80 to 11200 directly the DSS will refuse to connect because its not accepting non-secure connections as expected. I want DSS to return 301 and redirect to HTTPS at port 11200 when a client connects from port 80/http. 



Should i still setup a reverse proxy? Did i get the answer wrong?



Thanks in advance and sorry for the spam. Love you guys. 

0 Kudos
1 Solution
jereze
Community Manager
Community Manager

Hi,



Let me describe 2 standard installations. You can opt for one of the two.



1) Use a reverse proxy to have HTTPS on 443




  • You install Dataiku DSS on for example port 11200 (and you don't change anything, it is HTTP)

  • You set-up a reverse proxy on port 80 (HTTP) and 443 (HTTPS) that ensure HTTPS is used and forward trafic to 11200

  • You configure your firewall to accept connections only on ports 80 and 443 (not on port 11200)



2) Configure HTTPS on Dataiku DSS port (11200 for example)



You can configure a certificate in the install.ini file.



I hope this helps.



Jeremy

Jeremy, Product Manager at Dataiku

View solution in original post

3 Replies
jereze
Community Manager
Community Manager

Hi,



Let me describe 2 standard installations. You can opt for one of the two.



1) Use a reverse proxy to have HTTPS on 443




  • You install Dataiku DSS on for example port 11200 (and you don't change anything, it is HTTP)

  • You set-up a reverse proxy on port 80 (HTTP) and 443 (HTTPS) that ensure HTTPS is used and forward trafic to 11200

  • You configure your firewall to accept connections only on ports 80 and 443 (not on port 11200)



2) Configure HTTPS on Dataiku DSS port (11200 for example)



You can configure a certificate in the install.ini file.



I hope this helps.



Jeremy

Jeremy, Product Manager at Dataiku
Benoni
Level 3
Author
Thanks!
0 Kudos
Benoni
Level 3
Author
I actually have the certificate configured in install.ini. Yet i cant accept connections from port 80 and DSS doesn't redirect them. Is there anyway i can get in contact with you? I have a bunch of other problems with the platform. (All in all great software though)
0 Kudos

Labels

?
Labels (2)
A banner prompting to get Dataiku