Skip to content

Commit 68ba8e9

Browse files
authored
Docs: Update --server.endpoint description for endpoint schema aliases (arangodb#20402)
1 parent 70cbb17 commit 68ba8e9

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

arangod/RestServer/EndpointFeature.cpp

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ void EndpointFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
6262
options
6363
->addOption("--server.endpoint",
6464
"Endpoint for client requests (e.g. "
65-
"`http+tcp://127.0.0.1:8529`, or "
66-
"`vst+ssl://192.168.1.1:8529`)",
65+
"`http://127.0.0.1:8529`, or "
66+
"`https://192.168.1.1:8529`)",
6767
new VectorParameter<StringParameter>(&_endpoints))
6868
.setLongDescription(R"(You can specify this option multiple times to let
6969
the ArangoDB server listen for incoming requests on multiple endpoints.
@@ -78,6 +78,9 @@ of endpoints:
7878
- `ssl://[ipv6-address]:port` - TCP/IP endpoint, using IPv6, SSL encryption
7979
- `unix:///path/to/socket` - Unix domain socket endpoint
8080
81+
You can use `http://` as an alias for `tcp://`, and `https://` as an alias for
82+
`ssl://`.
83+
8184
If a TCP/IP endpoint is specified without a port number, then the default port
8285
(8529) is used.
8386
@@ -89,15 +92,7 @@ arangod --server.endpoint tcp://127.0.0.1:8529 \
8992
--server.endpoint ssl://127.0.0.1:8530 \
9093
--ssl.keyfile server.pem /tmp/data-dir
9194
92-
2022-11-07T10:39:29Z [1] INFO [e52b0] {general} ArangoDB 3.10.0 [linux] 64bit, using jemalloc, build tags/v3.10.0-0-g207ec6937e4, VPack 0.1.36, RocksDB 7.2.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1q 5 Jul 2022
93-
2022-11-07T10:39:29Z [1] INFO [75ddc] {general} detected operating system: Linux version 4.15.0-140-generic (buildd@lgw01-amd64-054) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #144-Ubuntu SMP Fri Mar 19 14:12:35 UTC 2021
94-
2022-11-07T10:39:29Z [1] INFO [25362] {memory} Available physical memory: 67513589760 bytes, available cores: 32
95-
2022-11-07T10:39:29Z [1] INFO [a1c60] {syscall} file-descriptors (nofiles) hard limit is 1048576, soft limit is 1048576
96-
2022-11-07T10:39:29Z [1] INFO [3bb7d] {cluster} Starting up with role SINGLE
97-
2022-11-07T10:39:29Z [1] INFO [f6e0e] {aql} memory limit per AQL query automatically set to 40508153856 bytes. to modify this value, please adjust the startup option `--query.memory-limit`
98-
2022-11-07T10:39:30Z [1] INFO [fe333] {engines} RocksDB recovery starting, scanning WAL starting from sequence number 91, latest sequence number: 202, files in archive: 0
99-
2022-11-07T10:39:30Z [1] INFO [a4ec8] {engines} RocksDB recovery finished, WAL entries scanned: 116, recovery start sequence number: 91, latest WAL sequence number: 202, max tick value found in WAL: 24, last HLC value found in WAL: 1748833470939922432
100-
2022-11-07T10:39:30Z [1] INFO [c1b63] {arangosearch} ArangoSearch maintenance: [5..5] commit thread(s), [5..5] consolidation thread(s)
95+
...
10196
2022-11-07T10:39:30Z [1] INFO [6ea38] {general} using endpoint 'http+ssl://0.0.0.0:8530' for ssl-encrypted requests
10297
2022-11-07T10:39:30Z [1] INFO [6ea38] {general} using endpoint 'http+tcp://0.0.0.0:8529' for non-encrypted requests
10398
2022-11-07T10:39:31Z [1] INFO [cf3f4] {general} ArangoDB (version 3.10.0 [linux]) is ready for business. Have fun!

0 commit comments

Comments
 (0)