Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Front Door supported HTTP to HTTPS redirection? #15639

Closed
nnasaki opened this issue Sep 26, 2018 — with docs.microsoft.com · 14 comments
Closed

Does Front Door supported HTTP to HTTPS redirection? #15639

nnasaki opened this issue Sep 26, 2018 — with docs.microsoft.com · 14 comments

Comments

Copy link
Contributor

@nnasaki nnasaki commented Sep 26, 2018 — with docs.microsoft.com

I wanna elect to redirect HTTP traffic to HTTPS as-is Using the Azure CDN to access blobs with custom domains over HTTPS | Microsoft Docs. Does Front Door supported ?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@MarileeTurscak-MSFT
Copy link
Contributor

@MarileeTurscak-MSFT MarileeTurscak-MSFT commented Sep 26, 2018

@nnasaki
Thanks for your feedback! We will investigate and update as appropriate.

@nnasaki
Copy link
Contributor Author

@nnasaki nnasaki commented Sep 27, 2018

@MarileeTurscak-MSFT Thank you! I'm looking forward to!

@TravisCragg-MSFT
Copy link
Member

@TravisCragg-MSFT TravisCragg-MSFT commented Sep 28, 2018

@nnasaki I have reached out to get more information, and will update you as soon as I am able.

@TravisCragg-MSFT
Copy link
Member

@TravisCragg-MSFT TravisCragg-MSFT commented Oct 22, 2018

@nnasaki it is not supported at this time. You can leave your feedback Here if you would like this feature to be enabled in the future.

@TravisCragg-MSFT
Copy link
Member

@TravisCragg-MSFT TravisCragg-MSFT commented Oct 22, 2018

@nnasaki We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@nnasaki
Copy link
Contributor Author

@nnasaki nnasaki commented Oct 23, 2018

@TravisCragg-MSFT I would like to easily redirect from HTTP to HTTPS. For example, in the AWS Cloud Front, you can do it by simply turning on the check box.

image

I do not want to implement such a basic function in the application. At the very least I will choose to use the AWS Cloud Front.

@thiezn
Copy link

@thiezn thiezn commented Oct 30, 2018

+1 for http redirection! Love the simplicity of configuring the front door service, especially compared to Azure application gateway. Enabling HTTP to HTTPS redirection will allow us to not have to deal with that on the backend.

Copy link

@daveaglick daveaglick commented Dec 20, 2018 — with docs.microsoft.com

Another +1 for http -> https and leaving other components of the URI intact (to be processed in the subsequent request by any URL rewriting, etc.)

@SergeBerwert
Copy link

@SergeBerwert SergeBerwert commented Apr 23, 2019

I would love to have that too!

@TravisCragg-MSFT
Copy link
Member

@TravisCragg-MSFT TravisCragg-MSFT commented Apr 23, 2019

@nnasaki @thiezn @daveaglick @SergeBerwert This feature is currently being worked on, and you can Upvote the Feature Request Here! You can also make additional suggestions or provide additional as well.

@katafractari
Copy link

@katafractari katafractari commented Apr 24, 2019

A tip from Nathan J. Robinson's comment on the feature upvote page worked for me:

This is now supported, although not yet documented. You can add a new routing rule and set the "Accepted Protocol" to "HTTP Only", "Route Type" to "Redirect", "Redirect Protocol" to "HTTPS Only", and "Destination Host" to your Front Door host name. Set the "Accepted Protocol" on all your other routing rules to "HTTPS Only". This works to redirect HTTP to HTTPS.

@Philo
Copy link

@Philo Philo commented Jun 17, 2019

A tip from Nathan J. Robinson's comment on the feature upvote page worked for me:

This is now supported, although not yet documented. You can add a new routing rule and set the "Accepted Protocol" to "HTTP Only", "Route Type" to "Redirect", "Redirect Protocol" to "HTTPS Only", and "Destination Host" to your Front Door host name. Set the "Accepted Protocol" on all your other routing rules to "HTTPS Only". This works to redirect HTTP to HTTPS.

While this does work, it requires a second routing rule, with a service charging model based on number of routing rules I feel there should be something more intrinsic to the service to support this.

@Zenuka
Copy link

@Zenuka Zenuka commented Jul 12, 2019

The documentation has been updated with this workaround: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-how-to-redirect-https

@rooque
Copy link

@rooque rooque commented May 29, 2020

A tip from Nathan J. Robinson's comment on the feature upvote page worked for me:

This is now supported, although not yet documented. You can add a new routing rule and set the "Accepted Protocol" to "HTTP Only", "Route Type" to "Redirect", "Redirect Protocol" to "HTTPS Only", and "Destination Host" to your Front Door host name. Set the "Accepted Protocol" on all your other routing rules to "HTTPS Only". This works to redirect HTTP to HTTPS.

While this does work, it requires a second routing rule, with a service charging model based on number of routing rules I feel there should be something more intrinsic to the service to support this.

I agree. It doesn't make sense to pay a routing rule just to redirect http to https.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet