NetCoreServer
NetCoreServer copied to clipboard
[Question] Re: Automatically redirecting all traffic from HTTP to HTTPS.
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.