vhostssl.conf配置修改
<VirtualHost *:443>
SSLProxyEngine on
ProxyRequests Off
ProxyPass /wss ws://内网ip:port
ProxyPassReverse /wss ws://内网ip:port
ProxyPass / http://localhost:port/
ProxyPassReverse / http://localhost:port/
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile *.crt
SSLCertificateKeyFile *.key
SSLCertificateChainFile *.crt
ServerName "域名"
DocumentRoot "D:\test\www\public"
</VirtualHost>
apache就能够支持https->apache->http->nodejs,wss->apache->ws->nodejs及其反向。
红线为(域名)微信小程序服务器域名配置