mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 05:26:16 -04:00
docs: Updates for Caddy v2.4.4 (#189)
* docs: Updates for Caddy v2.4.4 * Adjust wording * Clarify HTTPS proxy usage, reorder lb policies for clarity * Reorder directives, add comments
This commit is contained in:
parent
83fdd80db1
commit
3dac36ebc8
10 changed files with 119 additions and 50 deletions
|
@ -69,8 +69,10 @@ Placeholder | Description
|
|||
`{system.slash}` | The system's filepath separator
|
||||
`{system.os}` | The system's OS
|
||||
`{system.arch}` | The system's architecture
|
||||
`{time.now}` | The current timestamp
|
||||
`{time.now.common_log}` | The current timestamp in Common Log Format
|
||||
`{time.now}` | The current time as a Go Time struct
|
||||
`{time.now.unix}` | The current time as a unix timestamp in seconds
|
||||
`{time.now.unix_ms}` | The current time as a unix timestamp in milliseconds
|
||||
`{time.now.common_log}` | The current time in Common Log Format
|
||||
`{time.now.year}` | The current year in YYYY format
|
||||
|
||||
Not all config fields support placeholders, but most do where you would expect it.
|
||||
|
@ -159,4 +161,4 @@ Examples:
|
|||
- `2h45m`
|
||||
- `90d`
|
||||
|
||||
In the [JSON config](/docs/json/), duration values can also be integers which represent nanoseconds.
|
||||
In the [JSON config](/docs/json/), duration values can also be integers which represent nanoseconds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue