mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 21:46:16 -04:00
docs: dial_timeout for log net writer
And minor fix for reverse proxy example
This commit is contained in:
parent
64990cf8c4
commit
09c3a73299
2 changed files with 6 additions and 3 deletions
|
@ -72,13 +72,16 @@ output file <filename> {
|
|||
|
||||
#### net
|
||||
|
||||
A network socket.
|
||||
A network socket. If the socket goes down, it will dump logs to stderr while it attempts to reconnect.
|
||||
|
||||
```caddy-d
|
||||
output net <address>
|
||||
output net <address> {
|
||||
dial_timeout <duration>
|
||||
}
|
||||
```
|
||||
|
||||
- **<address>** is the [address](/docs/conventions#network-addresses) to write logs to.
|
||||
- **<dial_timeout>** is how long to wait for a successful connection to the log socket. Log emissions may be blocked for up to this long if the socket goes down.
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue