You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
549 B
42 lines
549 B
4 years ago
|
: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"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|