1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| { "uri": "/boot**", "name": "test boot route", "methods": [ "GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS", "CONNECT", "TRACE" ], "plugins": { "proxy-rewrite": { "regex_uri": [ "^/boot/?(.*)$", "/$1" ] } }, "upstream": { "nodes": [ { "host": "172.22.80.1", "port": 8900, "weight": 1 } ], "timeout": { "connect": 6, "send": 6, "read": 6 }, "type": "roundrobin", "scheme": "http", "pass_host": "pass", "keepalive_pool": { "idle_timeout": 60, "requests": 1000, "size": 320 } }, "labels": { "API_VERSION": "1.0" }, "enable_websocket": true, "status": 1 }
|