Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 11, 01:00 UTC
| 1 | :80 { |
| 2 | log { |
| 3 | sampling { |
| 4 | interval 5m |
| 5 | first 50 |
| 6 | thereafter 40 |
| 7 | } |
| 8 | } |
| 9 | } |
| 10 | ---------- |
| 11 | { |
| 12 | "logging": { |
| 13 | "logs": { |
| 14 | "default": { |
| 15 | "exclude": [ |
| 16 | "http.log.access.log0" |
| 17 | ] |
| 18 | }, |
| 19 | "log0": { |
| 20 | "sampling": { |
| 21 | "interval": 300000000000, |
| 22 | "first": 50, |
| 23 | "thereafter": 40 |
| 24 | }, |
| 25 | "include": [ |
| 26 | "http.log.access.log0" |
| 27 | ] |
| 28 | } |
| 29 | } |
| 30 | }, |
| 31 | "apps": { |
| 32 | "http": { |
| 33 | "servers": { |
| 34 | "srv0": { |
| 35 | "listen": [ |
| 36 | ":80" |
| 37 | ], |
| 38 | "logs": { |
| 39 | "default_logger_name": "log0" |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | } |