Skip to content
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

关于noVNC的WebSocket路径问题 #353

Open
wellblink opened this issue May 19, 2024 · 1 comment
Open

关于noVNC的WebSocket路径问题 #353

wellblink opened this issue May 19, 2024 · 1 comment

Comments

@wellblink
Copy link

目前noVNC的WebSocket路径是websockify/websockify,能否修改为相对路径/websockify?否则使用Nginx以二级目录的方式反代noVNC会出现WebSocket的路径问题,导致无法连接(要么每次手动改noVNC的web端WS路径,很麻烦)

@wellblink
Copy link
Author

ui.js文件中的url += '/' + path;建议修改为url += location.pathname+path;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant