0

I get "504 gateway" error when I do a "http://xyz.com" request for a website hosted on azure. However, if I do a "https://xyz.com" request for the same website I get the webpage. How do I always do a https request for this URL even if somebody forgets to do https

shresthaal
  • 675
  • 4
  • 13
  • 28

1 Answers1

0

Found this in StackOverflow Best way in asp.net to force https for an entire site?

And I think URL Rewrite or Http Module might help as well.

Community
  • 1
  • 1
Shaun Xu
  • 4,476
  • 2
  • 27
  • 41