Closed lpereira closed 5 months ago
Well, not only that. You can use the NextProto field to serve any SSL/TLS connection from the same port. In Go we use it to serve HTTPS and gRPC on the same port for example.
Lwan kinda supports multiple listeners now (HTTP and HTTPS). Closing this issue.
I think my favorite part of this is that it might allow for the possibility of having the same server handle both HTTPS and HTTP (just having the
80
listener forcibly redirect to the https address).