Hello,
I hope this is the correct sub-forum. I want to get the PVE console (NoVNC) working in combination with an NGINX reverse proxy. My current NGINX conf is:
I already read to enable websockets, but unfortunately it's still not working. When I try to access the console, after 30sec. I get the following error message and the console stays black:
I'm running a two-node PVE cluster with version 6.3-3. Has anyone every got the console with NGINX working?
Thanks!
I hope this is the correct sub-forum. I want to get the PVE console (NoVNC) working in combination with an NGINX reverse proxy. My current NGINX conf is:
Code:
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log debug;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
default_type text/html;
proxy_set_header Host $http_host;
proxy_pass https://192.168.10.5:8006$request_uri;
proxy_ssl_server_name on;
proxy_ssl_protocols TLSv1.2;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_buffering off;
client_max_body_size 0;
proxy_connect_timeout 3600s;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
send_timeout 3600s;
}
}
}
I already read to enable websockets, but unfortunately it's still not working. When I try to access the console, after 30sec. I get the following error message and the console stays black:
Code:
failed waiting for client: timed out
TASK ERROR: command '/usr/bin/termproxy 5900 --path /vms/445 --perm VM.Console -- /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve02' -t root@192.168.10.6 -- /usr/sbin/qm terminal 445 -escape 0 -iface serial0' failed: exit code 1
I'm running a two-node PVE cluster with version 6.3-3. Has anyone every got the console with NGINX working?
Thanks!