Proxmox VE 7.0-11 through Apache 2.4.6 reverse proxy

Claude70

New Member
May 15, 2021
1
0
1
45
Hello,

I used this guide to build up a proxy with Apache 2.4.6 (CentOs8 - SME10) to Proxmox VE:
Proxying Proxmox 4 with Apache from wonderproxy
Or this one :
Machine Virtuelle APACHE
Or this thread :
Working NoVNC with reverse proxy on 5.1 / Proxmox VE 5.2-1 through Apache 2.4.25 proxy

The problem: NoVNC does not work
WebSocket connection to 'wss://mydomain.org/api2/json/nodes/pve/lxc/110/vncwebsocket?port=5900&...........failed:
success @ main.js?version=4.12.0-1:145


Does a newer guide exist for PVE7 ?

Thanks in advance
Claude
 
Does your proxy config allow for websockets? There is a guide in the Proxmox VE wiki using NGINX: https://pve.proxmox.com/wiki/Web_Interface_Via_Nginx_Proxy

The important lines for websockets to work in that should be the following:
Code:
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";

Apache surely has something similar to allow proxying websockets.