fileserver: add a test for precompressed defaults (#6743)

This commit is contained in:
Kévin Dunglas 2024-12-11 00:48:02 +01:00 committed by GitHub
parent 5c2617ebf9
commit 290cfea08f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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