github.com/mholt/caddy-l4@v0.0.0-20241104153248-ec8fae209322/integration/caddyfile_adapt/lw_empty.caddytest (about) 1 { 2 servers { 3 listener_wrappers { 4 layer4 5 tls 6 } 7 } 8 } 9 :80 { 10 respond 200 "OK" 11 } 12 ---------- 13 { 14 "apps": { 15 "http": { 16 "servers": { 17 "srv0": { 18 "listen": [ 19 ":80" 20 ], 21 "listener_wrappers": [ 22 { 23 "wrapper": "layer4" 24 }, 25 { 26 "wrapper": "tls" 27 } 28 ], 29 "routes": [ 30 { 31 "handle": [ 32 { 33 "body": "200", 34 "handler": "static_response", 35 "status_code": "OK" 36 } 37 ] 38 } 39 ] 40 } 41 } 42 } 43 } 44 }