docs: encode short syntax (#445)

This commit is contained in:
Kévin Dunglas 2025-01-09 17:49:50 +01:00 committed by GitHub
parent ef31c7646a
commit ff1088fd1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 10 deletions

View file

@ -134,7 +134,7 @@ It's good practice to compress responses with a quick and modern compression alg
```caddy
localhost
encode zstd gzip
encode
templates
file_server browse
```
@ -156,7 +156,7 @@ Our Caddyfile so far:
```caddy
localhost
encode zstd gzip
encode
templates
file_server browse
```
@ -165,7 +165,7 @@ is equivalent to this one:
```caddy
localhost {
encode zstd gzip
encode
templates
file_server browse
}