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 | :8884 |
| 2 | |
| 3 | reverse_proxy 127.0.0.1:65535 { |
| 4 | health_uri /health |
| 5 | health_method HEAD |
| 6 | } |
| 7 | ---------- |
| 8 | { |
| 9 | "apps": { |
| 10 | "http": { |
| 11 | "servers": { |
| 12 | "srv0": { |
| 13 | "listen": [ |
| 14 | ":8884" |
| 15 | ], |
| 16 | "routes": [ |
| 17 | { |
| 18 | "handle": [ |
| 19 | { |
| 20 | "handler": "reverse_proxy", |
| 21 | "health_checks": { |
| 22 | "active": { |
| 23 | "method": "HEAD", |
| 24 | "uri": "/health" |
| 25 | } |
| 26 | }, |
| 27 | "upstreams": [ |
| 28 | { |
| 29 | "dial": "127.0.0.1:65535" |
| 30 | } |
| 31 | ] |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | ] |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | } |