简体   繁体   English

从 https 到 http 的代理后面强制使用 wss://

[英]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.

相关问题 NGINX 反向代理未重定向到 HTTP。 所有流量都强制使用 HTTPS - NGINX reverse proxy not redirecting to HTTP. All traffic forced to HTTPS 当proxy_pass从https到http时,NGINX返回403 - NGINX return 403 when proxy_pass to http from https http nginx dockers behind https virtualhost apache proxy using letsencrypt redirect https to http - http nginx dockers behind https virtualhost apache proxy using letsencrypt redirect https to http 反向代理后面的HTTP / 2 - HTTP/2 behind reverse proxy 使用反向代理从Https客户端到在我的计算机上本地运行的Http服务器 - Use Reverse Proxy from Https client to Http server running locally on my machine 是否需要HTTPS反向代理? - Is HTTPS behind reverse proxy needed? Nginx 背后的 Tomcat:如何代理 HTTP 和 HTTPS,可能在非标准端口上? - Tomcat behind Nginx: how to proxy both HTTP and HTTPS, possibly on non-standard ports? Django 落后于 NGINX 反向代理和 AWS Application Load Balancer 未在 HTTP_X_FORWARDED_PROTO 中从客户端转发 HTTPS - Django behind NGINX reverse proxy and AWS Application Load Balancer doesn't get HTTPS forwarded from client in HTTP_X_FORWARDED_PROTO 当通过 HTTP 路由到后端时,Nginx Ingress 如何处理通过 HTTPS (wss:...) 传入的 WebSocket 连接? (ws:...)? - How does Nginx Ingress handle an incoming WebSocket Connection over HTTPS (wss:...) when routing to backend over HTTP? (ws:...)? 如何使用nginx反向代理在同一端口从http重定向到https - How to redirect on the same port from http to https with nginx reverse proxy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM