mirror of
https://github.com/caddyserver/website.git
synced 2025-04-25 22:46:16 -04:00
docs: A few minor changes
This commit is contained in:
parent
db18a5d4c8
commit
9daa0fa331
3 changed files with 18 additions and 3 deletions
|
@ -8,7 +8,7 @@ Enables HTTP Basic Authentication, which can be used to protect directories and
|
|||
|
||||
**Note that basic auth is not secure over plain HTTP.** Use discretion when deciding what to protect with HTTP Basic Authentication.
|
||||
|
||||
When a user requests a resource that is protected, the browser will prompt the user for a username and password if they have not almdy supplied one. If the proper credentials are present in the Authorization header, the server will grant access to the resource. If the header is missing or the credentials are incorrect, the server will respond with HTTP 401 Unauthorized.
|
||||
When a user requests a resource that is protected, the browser will prompt the user for a username and password if they have not already supplied one. If the proper credentials are present in the Authorization header, the server will grant access to the resource. If the header is missing or the credentials are incorrect, the server will respond with HTTP 401 Unauthorized.
|
||||
|
||||
Caddy configuration does not accept plaintext passwords; you MUST hash them before putting them into the configuration. The [`caddy hash-password`](/docs/command-line#caddy-hash-password) command can help with this.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue