I access my neo4j server through the REST API. For security purpose, I put
the neo4j server behind a nginx lb. I'm wondering if there is config entry
somewhere that I can set the neo4j server to return a customized base uri
that I can set to my LB's uri.

For example, currently creating a node by POSTing to the lb (say
https://10.0.0.1/db/data) returns

{
  "outgoing_relationships" : "
http://neo4j/db/data/node/160/relationships/out";,
  "data" : {
  },
  "traverse" : "http://neo4j/db/data/node/160/traverse/{returnType}";,
  "all_typed_relationships" : "
http://neo4j/db/data/node/160/relationships/all/{-list|&|types}",
  "property" : "http://neo4j/db/data/node/160/properties/{key}";,
  "self" : "http://neo4j/db/data/node/160";,
  "properties" : "http://neo4j/db/data/node/160/properties";,
  "outgoing_typed_relationships" : "
http://neo4j/db/data/node/160/relationships/out/{-list|&|types}",
  "incoming_relationships" : "http://neo4j/db/data/node/160/relationships/in
",
  "extensions" : {
  },
  "create_relationship" : "http://neo4j/db/data/node/160/relationships";,
  "paged_traverse" : "
http://neo4j/db/data/node/160/paged/traverse/{returnType}{?pageSize,leaseTime}
",
  "all_relationships" : "http://neo4j/db/data/node/160/relationships/all";,
  "incoming_typed_relationships" : "
http://neo4j/db/data/node/160/relationships/in/{-list|&|types}"


Is there a config on the neo4j server that I can set to make it either
return the lb URI "https://10.0.0.1"; as the base uri or return relative path
in the result?
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to