mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-28 14:43:48 +03:00
45 lines
523 B
Text
45 lines
523 B
Text
|
:80 {
|
||
|
log {
|
||
|
sampling {
|
||
|
interval 300
|
||
|
first 50
|
||
|
thereafter 40
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
----------
|
||
|
{
|
||
|
"logging": {
|
||
|
"logs": {
|
||
|
"default": {
|
||
|
"exclude": [
|
||
|
"http.log.access.log0"
|
||
|
]
|
||
|
},
|
||
|
"log0": {
|
||
|
"sampling": {
|
||
|
"interval": 300,
|
||
|
"first": 50,
|
||
|
"thereafter": 40
|
||
|
},
|
||
|
"include": [
|
||
|
"http.log.access.log0"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"apps": {
|
||
|
"http": {
|
||
|
"servers": {
|
||
|
"srv0": {
|
||
|
"listen": [
|
||
|
":80"
|
||
|
],
|
||
|
"logs": {
|
||
|
"default_logger_name": "log0"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|