@@ -23,6 +23,24 @@ If _config_ is a string, it will be interpreted as _config.url_.
2323 can be used to automatically pick up additional coordinators/followers at
2424 any point.
2525
26+ When running ArangoDB on a unix socket, e.g. ` /tmp/arangodb.sock ` the
27+ following URL formats are supported for unix sockets:
28+
29+ * ` unix:///tmp/arangodb.sock ` (no SSL)
30+ * ` http+unix:///tmp/arangodb.sock ` (or ` https+unix:// ` for SSL)
31+ * ` http://unix:/tmp/arangodb.sock ` (or ` https://unix: ` for SSL)
32+
33+ Additionally ` ssl ` and ` tls ` are treated as synonymous with ` https ` and
34+ ` tcp ` is treated as synonymous with ` http ` , so the following URLs are
35+ considered identical:
36+
37+ * ` tcp://localhost:8529 ` and ` http://localhost:8529 `
38+ * ` ssl://localhost:8529 ` and ` https://localhost:8529 `
39+ * ` tcp+unix:///tmp/arangodb.sock ` and ` http+unix:///tmp/arangodb.sock `
40+ * ` ssl+unix:///tmp/arangodb.sock ` and ` https+unix:///tmp/arangodb.sock `
41+ * ` tcp://unix:/tmp/arangodb.sock ` and ` http://unix:/tmp/arangodb.sock `
42+ * ` ssl://unix:/tmp/arangodb.sock ` and ` https://unix:/tmp/arangodb.sock `
43+
2644 {% hint 'warning' %}
2745 As of arangojs 6.0.0 it is no longer possible to pass
2846 the username or password from the URL. Use
@@ -47,9 +65,12 @@ If _config_ is a string, it will be interpreted as _config.url_.
4765 - ** isAbsolute** : ` boolean` (Default: ` false` )
4866
4967 If this option is explicitly set to ` true` , the _url_ will be treated as the
50- absolute database path . This is an escape hatch to allow using arangojs with
51- database APIs exposed with a reverse proxy and makes it impossible to switch
52- databases with _useDatabase_ or using _acquireHostList_.
68+ absolute database path and arangojs will not append the database path to it.
69+
70+ ** Note: ** This makes it impossible to switch databases with _useDatabase_
71+ or using _acquireHostList_. This is only intended to be used as an escape
72+ hatch when working with standalone servers exposing a single database API
73+ from behind a reverse proxy, which is not a recommended setup.
5374
5475 - **arangoVersion**: `number` (Default: ` 30000` )
5576
0 commit comments