Skip to content

Commit

Permalink
fileserver: add a test for precompressed defaults (#6743)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored Dec 10, 2024
1 parent 5c2617e commit 290cfea
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
file_server {
precompressed zstd br gzip
}

file_server {
precompressed
}
----------
{
"apps": {
Expand Down Expand Up @@ -30,6 +34,22 @@ file_server {
"br",
"gzip"
]
},
{
"handler": "file_server",
"hide": [
"./Caddyfile"
],
"precompressed": {
"br": {},
"gzip": {},
"zstd": {}
},
"precompressed_order": [
"br",
"zstd",
"gzip"
]
}
]
}
Expand Down

0 comments on commit 290cfea

Please sign in to comment.