Skip to content

Commit

Permalink
Only compress json
Browse files Browse the repository at this point in the history
  • Loading branch information
VasilisThePikachu authored Sep 18, 2024
1 parent 689e97a commit 56d34b5
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 @@ -388,7 +388,9 @@ reverse_proxy localhost:8080 {
flush_interval -1
}

encode zstd gzip
encode zstd gzip {
match header Content-Type application/json*
}
```
## Troubleshooting
Expand Down

0 comments on commit 56d34b5

Please sign in to comment.