caddytest/integration/caddyfile_adapt/global_options_admin_with_persist_config_off.caddyfiletest
raw| 1 | { |
| 2 | http_port 8080 |
| 3 | persist_config off |
| 4 | admin { |
| 5 | origins localhost:2019 [::1]:2019 127.0.0.1:2019 192.168.10.128 |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | :80 |
| 10 | ---------- |
| 11 | { |
| 12 | "admin": { |
| 13 | "listen": "localhost:2019", |
| 14 | "origins": [ |
| 15 | "localhost:2019", |
| 16 | "[::1]:2019", |
| 17 | "127.0.0.1:2019", |
| 18 | "192.168.10.128" |
| 19 | ], |
| 20 | "config": { |
| 21 | "persist": false |
| 22 | } |
| 23 | }, |
| 24 | "apps": { |
| 25 | "http": { |
| 26 | "http_port": 8080, |
| 27 | "servers": { |
| 28 | "srv0": { |
| 29 | "listen": [ |
| 30 | ":80" |
| 31 | ] |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | } |