mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
document proxy auth in readme
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
Enhancement: Add support for proxy-based authentication
|
||||
|
||||
The server now supports authentication via a proxy header specified with the --proxy-auth flag (e.g., --proxy-auth=X-Forwarded-User).
|
||||
The server now supports authentication via a proxy header specified with the `--proxy-auth-username` flag (e.g., `--proxy-auth-username=X-Forwarded-User`).
|
||||
When this flag is set, the server will authenticate users based on the given header and disable BasicAuth.
|
||||
Note that --proxy-auth is ignored if --no-auth is set, as --no-auth disables all authentication.
|
||||
Note that `--proxy-auth-username` is ignored if `--no-auth` is set, as `--no-auth` disables all authentication.
|
||||
|
||||
https://github.com/restic/rest-server/issues/174
|
||||
https://github.com/restic/rest-server/pull/307
|
||||
Reference in New Issue
Block a user