502 erro de proxy proxy reverso do apache

1

Abaixo está meu host virtual conf para o proxy https

<VirtualHost *:443>
    ServerAdmin [email protected]
    ServerName example.openjuice.co

    ProxyRequests off
    SSLEngine on
    SSLProxyEngine On
    SSLCertificateFile /etc/ssl/cert/certs/apache.crt
    SSLCertificateKeyFile /etc/ssl/cert/certs/apache.key

    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>

    <Location />
        ProxyPass https://localhost:3006/
        ProxyPassReverse https://example.openjuice.co:3006/
    </Location>

</VirtualHost>

Mas estou ficando abaixo do erro

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /.

Reason: Error reading from remote server

Por favor me ajude nisso

    
por kirthan shetty 14.12.2015 / 11:51

1 resposta

2

Funcionou para mim Adicionar abaixo ao acima conf

SSLProxyEngine on
SSLProxyVerify none 
SSLProxyCheckPeerCN off    
SSLProxyCheckPeerName off    
SSLProxyCheckPeerExpire off
    
por 15.12.2015 / 08:34