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 | { |
| 2 | debug |
| 3 | } |
| 4 | |
| 5 | :8881 { |
| 6 | log { |
| 7 | format console |
| 8 | } |
| 9 | } |
| 10 | ---------- |
| 11 | { |
| 12 | "logging": { |
| 13 | "logs": { |
| 14 | "default": { |
| 15 | "level": "DEBUG", |
| 16 | "exclude": [ |
| 17 | "http.log.access.log0" |
| 18 | ] |
| 19 | }, |
| 20 | "log0": { |
| 21 | "encoder": { |
| 22 | "format": "console" |
| 23 | }, |
| 24 | "level": "DEBUG", |
| 25 | "include": [ |
| 26 | "http.log.access.log0" |
| 27 | ] |
| 28 | } |
| 29 | } |
| 30 | }, |
| 31 | "apps": { |
| 32 | "http": { |
| 33 | "servers": { |
| 34 | "srv0": { |
| 35 | "listen": [ |
| 36 | ":8881" |
| 37 | ], |
| 38 | "logs": { |
| 39 | "default_logger_name": "log0" |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | } |