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 | auto_https ignore_loaded_certs |
| 3 | } |
| 4 | |
| 5 | localhost |
| 6 | ---------- |
| 7 | { |
| 8 | "apps": { |
| 9 | "http": { |
| 10 | "servers": { |
| 11 | "srv0": { |
| 12 | "listen": [ |
| 13 | ":443" |
| 14 | ], |
| 15 | "routes": [ |
| 16 | { |
| 17 | "match": [ |
| 18 | { |
| 19 | "host": [ |
| 20 | "localhost" |
| 21 | ] |
| 22 | } |
| 23 | ], |
| 24 | "terminal": true |
| 25 | } |
| 26 | ], |
| 27 | "automatic_https": { |
| 28 | "ignore_loaded_certificates": true |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | } |