502 Bad Gateway

502 Bad Gateway

Hello,

I suddenly get an error without some things have been changed for very long. Everything worked for a few days ago.

I am running the control panel via SSL and proxy pass.

My configurations are as follows

Code:

<VirtualHost DEDICATED IP:443>

  SSLEngine on
  SSLCertificateFile /usr/local/directadmin/data/users/cpanel/domains/cpanel.domain.com.cert
  SSLCertificateKeyFile /usr/local/directadmin/data/users/cpanel/domains/cpanel.domain.com.key
  SSLCACertificateFile /usr/local/directadmin/data/users/cpanel/domains/cpanel.domain.com.cacert

    SSLProxyEngine On
    ServerName cpanel.domain.com
    ProxyPass / https://cpanel.domain.com:2222/
    ProxyPassReverse / https://cpanel.domain.com:2222/

</VirtualHost>


As said, the link worked until a day ago with the same configurations. I have not updated anything. What can be wrong? I’ve been everywhere on Google. Certificate is valid when I run alone without Proxy domain, so there’s nothing wrong with the certificate

Apache Error log

Code:

[Sat Apr 14 00:22:53 2012] [error] (502)Unknown error 502: proxy: pass request body failed to DEDICATED IP:2222 (cpanel.domain.com)
[Sat Apr 14 00:22:53 2012] [error] proxy: pass request body failed to DEDICATED IP:2222 (cpanel.domain.com) from MY IP ()


Comments are closed.