这里目前正在运行具有多个虚拟主机的 apache2 服务器。两个域已经设置https://run.example.com
并且运行良好并且进入https://dev.example.com:8005
域,为什么?run.example.com
ERR_SSL_PROTOCOL_ERROR
https://dev.example.com:8005
<VirtualHost *:443>
ServerName run.example.com
ProxyPass / http://localhost:8001/
ProxyPassReverse / http://localhost:8001/
ProxyPreserveHost On
SSLEngine On
SSLCertificateFile /etc/ssl/private/wildcard-example.pem
SSLCACertificateFile /etc/ssl/private/ca-bundle.pem
SSLCertificateKeyFile /etc/ssl/private/wildcard-example.key
</VirtualHost>
<VirtualHost *:443>
ServerName vm5.dev.example.com
ServerAlias dev.example.com
ProxyPass / http://localhost:8005/
ProxyPassReverse / http://localhost:8005/
SSLEngine On
SSLCertificateFile /etc/ssl/private/wildcard-example.pem
SSLCACertificateFile /etc/ssl/private/ca-bundle.pem
SSLCertificateKeyFile /etc/ssl/private/wildcard-example.key
</VirtualHost>