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:
Francis Lavoie 2021-08-31 13:39:15 -04:00 committed by GitHub
parent 83fdd80db1
commit 3dac36ebc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 119 additions and 50 deletions

View file

@ -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.