mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 22:20:32 -04:00
docs: Dynamically turn subdirectives into links to anchors (#190)
* docs: Dynamically turn subdirectives into links to anchors * Make entire rows clickable on directive page's table
This commit is contained in:
parent
3dac36ebc8
commit
c5e3aef0a2
8 changed files with 231 additions and 124 deletions
|
@ -2,6 +2,13 @@
|
|||
title: log (Caddyfile directive)
|
||||
---
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
// We'll add links to all the subdirectives if a matching anchor tag is found on the page.
|
||||
addLinksToSubdirectives();
|
||||
});
|
||||
</script>
|
||||
|
||||
# log
|
||||
|
||||
Enables and configures HTTP request logging (also known as access logs).
|
||||
|
@ -101,7 +108,7 @@ output net <address> {
|
|||
```
|
||||
|
||||
- **<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.
|
||||
- **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