mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-03 14:23:46 +08:00
42 lines
549 B
Plaintext
42 lines
549 B
Plaintext
|
:80
|
||
|
|
||
|
file_server {
|
||
|
precompressed zstd br gzip
|
||
|
}
|
||
|
----------
|
||
|
{
|
||
|
"apps": {
|
||
|
"http": {
|
||
|
"servers": {
|
||
|
"srv0": {
|
||
|
"listen": [
|
||
|
":80"
|
||
|
],
|
||
|
"routes": [
|
||
|
{
|
||
|
"handle": [
|
||
|
{
|
||
|
"handler": "file_server",
|
||
|
"hide": [
|
||
|
"./Caddyfile"
|
||
|
],
|
||
|
"precompressed": {
|
||
|
"br": {},
|
||
|
"gzip": {},
|
||
|
"zstd": {}
|
||
|
},
|
||
|
"precompressed_order": [
|
||
|
"zstd",
|
||
|
"br",
|
||
|
"gzip"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|