I want to run my express server on the same port using http & https
for e.g.
http http://example.com:3000
https https://example.com:3000
I want to run my express server on the same port using http & https
for e.g.
http http://example.com:3000
https https://example.com:3000
You can use httpolyglot.
https://github.com/mscdex/httpolyglot
It is a module for serving http and https connections over the same port.