无法使用apache http get请求中的https访问在端口4000上的nodejs上运行的应用程序。以下是我的虚拟主机配置文件。
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /var/www/html/assess/>
Options -Indexes
</Directory>
Redirect /streaming/ https://example.asses.com/streaming/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName localhost
SSLEngine On
SSLProxyEngine on
SSLCertificateKeyFile /var/www/html/assess/server.key
SSLCertificateFile /var/www/html/assess/server.cert
ProxyRequests off
ProxyPreserveHost on
ProxyVia Full
<Proxy *>
Require all granted
</Proxy>
ProxyPass /streaming/ https://localhost:4000/ retry=1 acquire=3000 timeout=900 keepalive=On
ProxyPassReverse /streaming/ https://localhost:4000/
</VirtualHost>