Configure múltiplos hosts virtuais com https + port no apache2

0

Aqui está atualmente executando o servidor apache2 com múltiplos hosts virtuais. dois domínios estão configurados https://run.example.com e https://dev.example.com:8005 mas run.example.com funcionando bem e recebendo ERR_SSL_PROTOCOL_ERROR em https://dev.example.com:8005 domain, Por quê?

<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>
    
por Nullpointer 23.01.2017 / 10:08

0 respostas