bugfix for internal https

This commit is contained in:
OttoMao
2015-02-10 15:30:39 +08:00
parent d51cb0ce4b
commit e5d0b1bf4d
4 changed files with 22 additions and 7 deletions

View File

@@ -303,7 +303,7 @@ function connectReqHandler(req, socket, head){
callback();
}else{
proxyPort = 443;
proxyPort = (targetPort == 8003)?8003:443; //ws
proxyHost = host;
callback();