HttpServerLite icon indicating copy to clipboard operation
HttpServerLite copied to clipboard

Http (:80) to Https (:443) reroute?

Open ghost opened this issue 3 years ago • 1 comments

Since HttpServerLite can only handle one server at a time, is there any way to make a reroute from port 80 (without SSL) to 443 (with SSL), so my site was able to both support http:/ and https:/ connections?

ghost avatar Aug 16 '22 18:08 ghost

Hi @D1gitalFox the library can't support this currently. With some work, it could be amended to listen on multiple TCP endpoints, but it may be easier to just use two instances, and redirect in one to the other.

jchristn avatar Aug 20 '22 16:08 jchristn