[Solved] Console: "Failed to connect to server" when using apache reverse proxy

etron770

Well-Known Member
Feb 14, 2018
51
3
48
60
there is no console (and no shell of the root) available when using an apache reverse proxy.
All other stuff is working

the sub.host.conf of apache:

Code:
<VirtualHost *:443>
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

  ServerAdmin root@mydomain.com
  ServerName sub.mydomain.com

  LogLevel warn
  CustomLog ${APACHE_LOG_DIR}/proxmox-access.log combined
  ErrorLog ${APACHE_LOG_DIR}/proxmox-error.log

  ProxyRequests off
  ProxyPreserveHost on
  RequestHeader unset Accept-Encoding

    <Proxy *>
   Order deny,allow
   Allow from all
   </Proxy>
    ProxyPass / https://sub.mydomain.com:8006/
    ProxyPassReverse / https://sub.mydomain.com:8006/

SSLCertificateFile /etc/letsencrypt/live/mydomain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/mydomain.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
 
Last edited: