2
votes

currently we are using a proxy server to route our spring application to a https url however we also want to do this with our Neo4j instance. This requires us to change the base prefix url to allow us to properly route the ports (bolt port and the browser port). Side note we are running Neo4j in a Docker image.

In case my above explanation was unclear I have included an example of what we would like to do and what is currently happening.

Currenly the Neo4j browser resolves to this url: http://(ip_address):7474/browser/ We would like to have it resolve to: http://(ip_address):7474/Neo4j/browser/

Currently the Neo4j bolt port resolves to: bolt://(ip_address):7687 We would like to have it resolve to: bolt://(ip_address):7687/Neo4j/

Any idea on how we can configure this?

1

1 Answers

0
votes

The endpoint that the Neo4J browser is accessed at (/browser) cannot, to my knowledge, be configured to be at another location out of the box, nor can this be changed in the configuration file.

You may be able to do this by modifying Neo4J itself, or by changing your proxy settings such that any and all request to it at /Neo4J/browser/ are re-written on the fly to /browser from the docker container's perspective, but this will not work if you intend on also using HTTPS (unless you also Man-in-the-Middle the certs, which is usually not best practices), but that would be a unique situation and it will be outside the realm of typical Neo4J ops/configuration.