fix(gateway): point option descriptions at hivectl instead of raw htpasswd
This commit is contained in:
parent
4bff450343
commit
6b6289c191
1 changed files with 5 additions and 5 deletions
|
|
@ -207,9 +207,8 @@ in
|
||||||
`auth_basic` module handles credential validation — no extra
|
`auth_basic` module handles credential validation — no extra
|
||||||
service or host-side daemon required. Off by default.
|
service or host-side daemon required. Off by default.
|
||||||
|
|
||||||
Create the file with: `htpasswd -Bc /path/to/gateway.htpasswd <username>`
|
Manage users with `hivectl gateway create-user`, `delete-user`,
|
||||||
(BCrypt recommended; `-c` creates a new file). Subsequent users:
|
and `list-users` — see `hivectl gateway --help` for usage.
|
||||||
`htpasswd -B /path/to/gateway.htpasswd <user2>`.
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
htpasswdFile = lib.mkOption {
|
htpasswdFile = lib.mkOption {
|
||||||
|
|
@ -223,8 +222,9 @@ in
|
||||||
container at `/run/gateway-auth/`. The file must be readable by
|
container at `/run/gateway-auth/`. The file must be readable by
|
||||||
the `nginx` user inside the container (mode 0644 recommended).
|
the `nginx` user inside the container (mode 0644 recommended).
|
||||||
|
|
||||||
Create with: `htpasswd -Bc <file> <username>`. BCrypt (`-B`) is
|
Manage with: `hivectl gateway create-user --file <path> <username>`.
|
||||||
strongly preferred over the legacy MD5/SHA1 algorithms.
|
BCrypt (cost 12) is used by default; no external `htpasswd` binary
|
||||||
|
required.
|
||||||
|
|
||||||
Required when `enable = true`.
|
Required when `enable = true`.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue