tobychui / zoraxy

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!
https://zoraxy.aroz.org
GNU Affero General Public License v3.0
3.09k stars 188 forks source link

[HELP] Console on Proxmox using wildcard SSL reverse proxy through Zoraxy gives an 1006 error - session does not establish #323

Closed AhzurdanGit closed 1 month ago

AhzurdanGit commented 1 month ago

What happened? As described in the headline: When using Zoraxy for reverse proxy on an wildcard certificate I get an 1006 error in Proxmox when trying to establish a console session. That does not happen when directly connection through Proxmox IP or regular DNS name. I had the same issues in the past using NGINX but that was solved with some kind of setting in NGINX. Not sure what I need to enable to get that sorted out as well.

jcastro commented 1 month ago

I believe on nginx proxy manager the setting was to enable websockets

AhzurdanGit commented 1 month ago

yes. think you are right and this is how i got it working in NGINX. Isnt websockets automatically enabled in Zoraxy - thus does not work...

tobychui commented 1 month ago

@AhzurdanGit Websocket in zoraxy is automatically detected and enable if the request contains the correct "Upgrade" header. As I recall eventually we get it working in #106. Maybe you can ask for promox user's help in that discussion thread?

jcastro commented 1 month ago

I’m using zoraxy with proxmox and it’s working ok

AhzurdanGit commented 1 month ago

Ah

AhzurdanGit commented 1 month ago

Nevermind.. I was checking #106 and redoing all the settings and it automagically works :D Thanks guys for responding. So selecting all in upstream seemed to do the trick. I will retry with my other mini-pcs and report up if that is not working. Good job by the way with Zoraxy - big contestender to break the almighty other solutions.