Create a Reverse Proxy in NodeJS that can handle multiple secure domains

后端 未结 6 1362
猫巷女王i
猫巷女王i 2021-02-04 17:09

I\'m trying to create a reverse proxy in NodeJS. But I keep running the issue that in that I can only serve one one set of cert/key pair on the same port(443), even though I wa

6条回答
  •  甜味超标
    2021-02-04 17:18

    How about creating the SSL servers on different ports and using node-http-proxy as a server on 443 to relay the request based on domain.

提交回复
热议问题