neo4j / neo4j-browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.
https://neo4j.com
GNU General Public License v3.0
678 stars 345 forks source link

Forced to use wss:// when behind proxy from https to http #1216

Open mijosch opened 3 years ago

mijosch commented 3 years ago

Using unsecured (http) neo4j via reverse proxy as a secured endpoint (https)

(client) - [https]- (reverse_proxy) - [http] - (neo4j)

I am trying to build an environment where you have just one path inside the infrastructure through the reverse proxy. The connection between the client and the reverse proxy should be https and the rest http for easiness. I can reach the web interface with no hassle but then I am forced to use the bolt+s interface.

Already tried:

error source:

Is there a solution to this?

WolfgangFahl commented 3 years ago

same here - does not work out of the box behind proxy.

a dockerized neo4j should work with the following apache config:

# docker services
ProxyPass /neo4j/ http://localhost:7474/
ProxyPassReverse /neo4j/ http://localhost:7474/

ProxyPass /bolt/ http://localhost:7687/
ProxyPassReverse /bolt/ http://localhost:7687/

but i found no hint where to go from there.