You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/04/30 06:40:21 UTC

[GitHub] [incubator-superset] debojitkakoti commented on issue #978: redirects change https requests to http locations

debojitkakoti commented on issue #978: redirects change https requests to http locations
URL: https://github.com/apache/incubator-superset/issues/978#issuecomment-487836013
 
 
   This problem can be easily solved if the application is running behind AWS ALB.
   Step 1. Create two listener in ALB, one running on port 80 and another running on 443 with certificate attached to it.
   Step 2. Write a redirect rule in listener with port 80 for permanent redirect to port 443, your rule should look like below
   
   `https://#{host}:443/#{path}?#{query`
   
   So any redirect happens on the application level will redirect to https. Hope this helps.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org