caddyfile/directives/log: add docs for new replace directive

This commit corresponds with the functionality added in this PR:
https://github.com/caddyserver/caddy/pull/4029
This commit is contained in:
Aaron Taylor 2021-03-14 21:05:43 -04:00
parent caede64af5
commit da88655abf
No known key found for this signature in database
GPG key ID: 42B14D00D1915CE5

View file

@ -165,6 +165,14 @@ Marks a field to be skipped from being encoded.
<field> delete
```
##### replace
Marks a field to be replaced with the provided string at encoding time.
```caddy-d
<field> replace <replacement>
```
##### ip_mask
Masks IP addresses in the field using a CIDR mask, i.e. the number of bytes from the IP to retain, starting from the left side. There is separate configuration for IPv4 and IPv6 addresses.