Closed dfang closed 2 years ago
Yes, you can create separate http.Server
s on different ports, one with TLS and one without, and then use the gateway mux with both servers. This is a more general Go question, and this isn't the right forum for this, try asking on Gophers Slack.
Can i listen both on https and http?