mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-31 15:08:42 -04:00
Forgot to remove log handler
parent
1d236eba5e
commit
f58ec0af6c
@ -79,7 +79,6 @@ This page describes how to use Caddy 2, which is a work-in-progress on the [v2 b
|
|||||||
- [http/servers/handle](#httpservershandle)
|
- [http/servers/handle](#httpservershandle)
|
||||||
- Middleware (non-terminating handlers):
|
- Middleware (non-terminating handlers):
|
||||||
- [http.handlers.headers](#httphandlersheaders)
|
- [http.handlers.headers](#httphandlersheaders)
|
||||||
- [http.handlers.log](#httphandlerslog)
|
|
||||||
- [http.handlers.rewrite](#httphandlersrewrite)
|
- [http.handlers.rewrite](#httphandlersrewrite)
|
||||||
- [http.handlers.markdown](#httphandlersmarkdown)
|
- [http.handlers.markdown](#httphandlersmarkdown)
|
||||||
- [http.handlers.authentication](#httphandlersauthentication)
|
- [http.handlers.authentication](#httphandlersauthentication)
|
||||||
@ -1596,20 +1595,6 @@ Response header operations can be conditioned upon response status code and/or o
|
|||||||
- `response.require.headers`: Apply response header changes if the given response headers have the given value(s).
|
- `response.require.headers`: Apply response header changes if the given response headers have the given value(s).
|
||||||
|
|
||||||
|
|
||||||
##### http.handlers.log
|
|
||||||
|
|
||||||
Logs the HTTP request.
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"handler": "log",
|
|
||||||
"logger_name": ""
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- `logger_name`: An optional name to give this logger. By default, each Caddy module has its own logger named the same as its module. This name will be appended to this logger which can be used to differentiate it from other log handlers, which is useful when including or excluding loggers from specific logs you have defined.
|
|
||||||
|
|
||||||
|
|
||||||
##### http.handlers.rewrite
|
##### http.handlers.rewrite
|
||||||
|
|
||||||
Changes the request's URI or method. May also optionally issue a redirect for convenience if the URI is changed.
|
Changes the request's URI or method. May also optionally issue a redirect for convenience if the URI is changed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user