不是很了解 Node.js,但我看了一眼文档,好几个相关的选项你都没写,不知道是不是必须的。
option.ssl: object to be passed to https.createServer()
option.ws: true/false: if you want to proxy websockets
option.secure: true/false, if you want to verify the SSL Certs
option.protocolRewrite: rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null.