diff options
author | 2016-08-22 14:05:56 -0700 | |
---|---|---|
committer | 2016-08-22 14:05:56 -0700 | |
commit | 2666ca7238eee56b69d87df52bfcf587ab585e02 (patch) | |
tree | 2eab54779038e9f5422c4c4b647852c9129eeebe /middleware | |
parent | 5325dadb7ce38a6694ab6dbed830330498f9e352 (diff) | |
download | coredns-2666ca7238eee56b69d87df52bfcf587ab585e02.tar.gz coredns-2666ca7238eee56b69d87df52bfcf587ab585e02.tar.zst coredns-2666ca7238eee56b69d87df52bfcf587ab585e02.zip |
Update README.md
Grammatical fixes.
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/errors/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/middleware/errors/README.md b/middleware/errors/README.md index b0413facd..43368b15a 100644 --- a/middleware/errors/README.md +++ b/middleware/errors/README.md @@ -2,7 +2,7 @@ `errors` allows you to set custom error pages and enable error logging. By default, error responses (HTTP status >= 400) are not logged and the client receives a plaintext error message. -Using an error log, the text of each error will be recorded so you can determine what is going wrong without exposing those details to the clients. With error pages, you can present custom error messages and instruct your visitor what to do. +Using an error log, the text of each error will be recorded so you can determine what is going wrong without exposing those details to the clients. With error pages, you can present custom error messages and instruct your visitor with what to do. ## Syntax @@ -11,7 +11,7 @@ Using an error log, the text of each error will be recorded so you can determine errors [logfile] ~~~ -* `logfile` is the path to the error log file to create (or append to), relative to the current working directory. It can also be stdout or stderr to write to the console, syslog to write to the system log (except on Windows), or visible to write the error (including full stack trace, if applicable) to the response. Writing errors to the response is NOT advised except in local debug situations. Default is stderr. +* `logfile` is the path to the error log file to create (or append to), relative to the current working directory. It can also be stdout or stderr to write to the console, syslog to write to the system log (except on Windows), or visible to write the error (including full stack trace, if applicable) to the response. Writing errors to the response is NOT advised except in local debug situations. The default is stderr. The above syntax will simply enable error reporting on the server. To specify custom error pages, open a block: ~~~ @@ -20,7 +20,7 @@ errors { } ~~~ -* `what` can only `log`. +* `what` can only be `log`. * `where` is the path to the log file (as described above) and you can enable rotation to manage the log files. ## Examples |