Hello,
I'm trying to run noVNC using php. I use the call: api2/json/nodes/pve/qemu/{id}/vncwebsocket
before this, I call the login api,and vnticket api to get cookie、 the vncticket and the port.
finally,I got the request like this,![upload_2019-6-17_22-26-17.png upload_2019-6-17_22-26-17.png](https://forum.proxmox.com/data/attachments/10/10266-cb4d4134ff71a3352e82f0f92f4996cd.jpg)
and with nginx proxy
![upload_2019-6-17_22-27-28.png upload_2019-6-17_22-27-28.png](https://forum.proxmox.com/data/attachments/10/10267-5a03d5e6c4ef20734e8aab3d3f8f07f9.jpg)
the upstream is right.
as i think everything vill be ok,but the error 502 break me down.
maybe someone can help me solve this problem. And forgive my poor english, thanks!!
I'm trying to run noVNC using php. I use the call: api2/json/nodes/pve/qemu/{id}/vncwebsocket
before this, I call the login api,and vnticket api to get cookie、 the vncticket and the port.
finally,I got the request like this,
![upload_2019-6-17_22-26-17.png upload_2019-6-17_22-26-17.png](https://forum.proxmox.com/data/attachments/10/10266-cb4d4134ff71a3352e82f0f92f4996cd.jpg)
and with nginx proxy
![upload_2019-6-17_22-27-28.png upload_2019-6-17_22-27-28.png](https://forum.proxmox.com/data/attachments/10/10267-5a03d5e6c4ef20734e8aab3d3f8f07f9.jpg)
the upstream is right.
as i think everything vill be ok,but the error 502 break me down.
maybe someone can help me solve this problem. And forgive my poor english, thanks!!