-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The websockify of novnc dose not has relative path feature #1339
Comments
I was having this same issue. I needed to have separate NoVNC servers accessible through e.g. I did something similar to what you've done here, except I changed the URL through
After that, my Nginx config ended up looking close to
That way, if I wanted to create a new NoVNC server accessible at |
I'm afraid we concluded that we cannot do this in a generic way. Please see #1058 for details. |
Is your feature request related to a problem? Please describe.
When nginx has path to reverse proxy to noVNC , html/js files works fine but websocket having the wrong path . The websocket is just related to the ROOT path.
For example :
https://desktop.xxx.cn/max/vnc_lite.html
the websocket is : https://desktop.xxx.cn/websockify
I need the right path is :
https://desktop.xxx.cn/max/websockify
nginx:
}
Describe the solution you'd like
So , I have to modify the line
1014 url += '/max/' + path; // app/ui.js
178 url += '/max' + path; //vnc_lite.html
Describe alternatives you've considered
Additional context
Is there any other way to help this automatically right? Thanks
The text was updated successfully, but these errors were encountered: