Skip to content

Commit f7b4d9a

Browse files
committed
doc: fix NethVoice URL example
1 parent 604b6e9 commit f7b4d9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The proxy is configured via environment variables. Minimal required env:
1818
- `PROXY_PORT` (optional): port to listen on (default: `8080`)
1919
- `AS_USER_ID` (optional): the user ID of the Application Service bot (default: `@_acrobits_proxy:matrix.example`)
2020
- `PROXY_URL` (optional): public-facing URL of this proxy (e.g. `https://matrix.example.com`), if not specified, use the value of `MATRIX_HOMESERVER_URL`
21-
- `EXT_AUTH_URL` (optional): external HTTP endpoint used to validate extension+password for push token reports (eg: `https://voice.nethserver.org/freepbx/testextauth`)
21+
- `EXT_AUTH_URL` (optional): external HTTP endpoint used to validate extension+password for push token reports (eg: `https://voice.nethserver.org/freepbx/rest/testextauth`)
2222
- `EXT_AUTH_TIMEOUT_S` (optional): timeout in seconds for calls to `EXT_AUTH_URL` (default: `5`)
2323
- `LOGLEVEL` (optional): logging verbosity level - `DEBUG`, `INFO`, `WARNING`, `CRITICAL` (default: `INFO`)
2424
- `PUSH_TOKEN_DB_PATH` (optional): path to a database file for storing push tokens
@@ -28,7 +28,7 @@ The proxy is configured via environment variables. Minimal required env:
2828

2929
Run the following command to start the container using rootless Podman:
3030
```
31-
podman run --rm --replace --name matrix2acrobits --network host -e LOGLEVEL=debug -e MATRIX_HOMESERVER_URL=https://synapse.gs.nethserver.net -e SUPER_ADMIN_TOKEN=secret -e PROXY_PORT=8080 -e AS_USER_ID=@_acrobits_proxy:synapse.gs.nethserver.net -e PROXY_URL=https://synapse.gs.nethserver.net/ -e EXT_AUTH_URL=https://voice.gs.nethserver.net/freepbx/rest/testextauth ghcr.io/nethesis/matrix2acrobits
31+
podman run --rm --replace --name matrix2acrobits --network host -e LOGLEVEL=debug -e MATRIX_HOMESERVER_URL=https://synapse.gs.nethserver.net -e MATRIX_AS_TOKEN=secret -e PROXY_PORT=8080 -e AS_USER_ID=@_acrobits_proxy:synapse.gs.nethserver.net -e PROXY_URL=https://synapse.gs.nethserver.net/ -e EXT_AUTH_URL=https://voice.gs.nethserver.net/freepbx/rest/testextauth ghcr.io/nethesis/matrix2acrobits
3232
```
3333

3434
On production set also:

docs/AUTHENTICATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ If any request is missing a `password`, it fails with authentication error.
1717

1818
### Environment variables related to auth
1919

20-
- `EXT_AUTH_URL`: external HTTP endpoint used to validate extension+password for push token reports (eg: `https://voice.nethserver.org/freepbx/testextauth`)
20+
- `EXT_AUTH_URL`: external HTTP endpoint used to validate extension+password for push token reports (eg: `https://voice.nethserver.org/freepbx/rest/testextauth`)
2121
- `EXT_AUTH_TIMEOUT_S`: timeout in seconds for calls to `EXT_AUTH_URL` (default: `5`)
2222
- `CACHE_TTL_SECONDS`: cache TTL for external auth responses (default: `3600` seconds)

0 commit comments

Comments
 (0)