docs: encode short syntax

This commit is contained in:
Kévin Dunglas 2025-01-09 15:54:47 +01:00
parent dbd9cc7948
commit bb897a9035
No known key found for this signature in database
GPG key ID: 4D04EBEF06AAF3A6
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
}