[英]Forced to use wss:// when behind proxy from https to http
I have setup a nginx proxy to pass https url to internal http neo4j web.我已经设置了一个 nginx 代理来将 https url 传递到内部 http neo4j web。 I can reach the neo4j login page without any issue, but I am forced to use the neo4j+s/bolt+s interface.我可以毫无问题地访问neo4j登录页面,但我不得不使用neo4j+s/bolt+s界面。
Just wondering how I can configure nginx to remove any ssl related info via proxypass module, in order to login in neo4j with ws, no wss?只是想知道如何配置 nginx 以通过 proxypass 模块删除任何与 ssl 相关的信息,以便使用 ws 登录 neo4j,没有 wss?
Thanks,谢谢,
Chance机会
I managed to get rid of wss by adding another nginx proxy to set the https url as upstream server in location.proxy_pass.我设法通过添加另一个 nginx 代理将 https url 设置为 location.proxy_pass 中的上游服务器来摆脱 wss。 It won't show wss/neo4j+s/bolt+s any more once you visit the web by the http url.一旦您通过 http 网址访问网络,它就不会再显示 wss/neo4j+s/bolt+s。 Hopefully it will help for anyone has the similar issue as me.希望它对任何与我有类似问题的人有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.