Applicable in ObjectType-class directives.
The set-basic-auth function sets the HTTP basic authentication credentials used by the proxy server when it sends an HTTP request. set-basic-auth can be used to authenticate to a remote origin server or proxy server.
The following table describes parameters for the set-basic-auth function.
Table 5–81 set-basic-auth parameters|
Parameter |
Description |
|---|---|
|
user |
To authenticate user. |
|
password |
The user’s password. |
|
hdr |
(Optional) Name of the HTTP request header used to communicate the credentials. |