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


Well-Known Member
Feb 14, 2018
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:

<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
    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
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!