[SOLVED] Proxmox VE 5.2-1 through Apache 2.4.25 proxy


May 30, 2018
Hey guys,

I used this guide to build up a proxy with Apache 2.4.25 to Proxmox VE:
Proxying Proxmox 4 with Apache from wonderproxy

The problem: NoVNC does not work and all the VM stats aren't displayed.

Does a newer guide exist for 5+ or does anyone know what I have to change concerning the guide?

Thanks in advance

this is my config for a apache 2.4 name based reverse proxy:

<VirtualHost *:443>
    ServerName <Extern.Sitename.de>

    ErrorLog  ${APACHE_LOG_DIR}/Proxy_<Extern.Sitename.de>_error.log
    CustomLog ${APACHE_LOG_DIR}/Proxy_<Extern.Sitename.de>_access.log combined

    UseCanonicalPhysicalPort Off
    UseCanonicalName         Off
    DocumentRoot             /var/www/html/

    SSLEngine on
    SSLCertificateFile    /etc/letsencrypt/live/<Extern.Sitename.de>/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/<Extern.Sitename.de>/privkey.pem

    ProxyRequests Off
    ProxyPreserveHost On

    #SSL Connect
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off

    # HSTS (mod_headers is required) (15768000 seconds = 6 months)
    #Header always set Strict-Transport-Security "max-age=15768000"

    # Encoded slashes need to be allowed
    AllowEncodedSlashes     NoDecode

    RewriteEngine on
    RewriteCond %{HTTP:Connection} Upgrade [NC]
    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteRule /(.*) wss://$1  [P,L]

    SSLProxyEngine   on
    ProxyRequests    off

    #block Proxy for letsencrypt verification!
    ProxyPass        /.wellknown !
    ProxyPass        / flushpackets=On connectiontimeout=300 timeout=300
    ProxyPassReverse /
    ProxyTimeout     600


Perhaps it will help someone, because I didn't found a working example that uses apache2.

best regards


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!