NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

[Question] Re: Automatically redirecting all traffic from HTTP to HTTPS.

Open thewhiterabbit opened this issue 3 years ago • 0 comments

If I modify the HttpServer example, is it possible to redirect all traffic to HTTPS?

Asking before I start something that may not work the way I think it does.

I considered running just the HttpsServer, however traffic on port 80 isn't captured.

While writing this I had another idea. Can I simply listen on both port 80 & 443 with the HttpsServer, or is that violating the protocol rules? Sorry. I'm still working my way through RTFM.

thewhiterabbit avatar Feb 23 '22 19:02 thewhiterabbit