mirror of
https://github.com/rclone/rclone.git
synced 2026-01-01 08:03:26 +00:00
docs: fix variants of --user-from-header
This commit is contained in:
@@ -20,7 +20,7 @@ You can either use an htpasswd file which can take lots of users, or
|
|||||||
set a single username and password with the ` + "`--{{ .Prefix }}user` and `--{{ .Prefix }}pass`" + ` flags.
|
set a single username and password with the ` + "`--{{ .Prefix }}user` and `--{{ .Prefix }}pass`" + ` flags.
|
||||||
|
|
||||||
Alternatively, you can have the reverse proxy manage authentication and use the
|
Alternatively, you can have the reverse proxy manage authentication and use the
|
||||||
username provided in the configured header with ` + "`--user-from-header`" + ` (e.g., ` + "`--{{ .Prefix }}--user-from-header=x-remote-user`" + `).
|
username provided in the configured header with ` + "`--user-from-header`" + ` (e.g., ` + "`--{{ .Prefix }}user-from-header=x-remote-user`" + `).
|
||||||
Ensure the proxy is trusted and headers cannot be spoofed, as misconfiguration
|
Ensure the proxy is trusted and headers cannot be spoofed, as misconfiguration
|
||||||
may lead to unauthorized access.
|
may lead to unauthorized access.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user