Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

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

Open
ghost opened this issue Aug 16, 2022 · 1 comment
Open

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

ghost opened this issue Aug 16, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Aug 16, 2022

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?

@jchristn
Copy link
Owner

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 jchristn added the enhancement New feature or request label Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant