-
Notifications
You must be signed in to change notification settings - Fork 75
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
Upgrade failed: websocket: request origin not allowed by Upgrader.CheckOrigin 跨域访问不了呢,家宽 #2
Comments
是使用了反代吗,提供一下配置信息 |
用的是NginxProxyManager的docker做的反代,没有额外写Nginx代码。 |
/ws接口使用了websocket,参考下这里怎么配置 |
g了好多种方式,都不行,比较菜,哈哈哈。再等等看看有没有做科普的吧,现在用端口转发凑合用了,不做反代了 |
NginxProxyManager的反代搞定了,websocket supports勾选上。原理不懂,反正这么是好用了 家宽: 个人虚拟服务:
}` |
Upgrade failed: websocket: request origin not allowed by Upgrader.CheckOrigin
跨域访问不了呢,家宽
The text was updated successfully, but these errors were encountered: