Skip to content

HTTP to HTTPS redirection not working? #3392

Answered by robjtede
tadghh asked this question in Q&A
Discussion options

You must be logged in to vote

the website actually states that:

automatically upgrades connections to HTTP/2 if possible.

no automatic HTTPS redirects are done, but that are very easy with an off-the-shelf middleware: https://docs.rs/actix-web-lab/latest/actix_web_lab/middleware/struct.RedirectHttps.html

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@tadghh
Comment options

@robjtede
Comment options

@tadghh
Comment options

@robjtede
Comment options

@tadghh
Comment options

Answer selected by robjtede
Comment options

You must be logged in to vote
1 reply
@robjtede
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3360 on June 09, 2024 00:32.