Skip to content

Commit

Permalink
Update setting-up-robust-cdn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VasilisThePikachu committed Sep 18, 2024
1 parent 56d34b5 commit e9e41c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/en/server-hosting/setting-up-robust-cdn.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,18 +376,20 @@ location / {

### Caddy

This is an example Caddyfile to go into an existing block for the domain with the CDN
This is an example Caddyfile to go into an existing block for the domain with the CDN. If you are putting this in a path you can just put all these under the path.

```
# Increased max body size for multi-request publishes.
request_body {
max_size 512MB
}

# Update port here.
reverse_proxy localhost:8080 {
flush_interval -1
}

# Compress JSON responses.
encode zstd gzip {
match header Content-Type application/json*
}
Expand Down

0 comments on commit e9e41c6

Please sign in to comment.