Debian Codegraph @

caddytest/integration/caddyfile_adapt/reverse_proxy_http_transport_url_proxy.txt

raw
1 :8884
2 reverse_proxy 127.0.0.1:65535 {
3 transport http {
4 network_proxy url http://localhost:8080
5 }
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 "transport": {
22 "network_proxy": {
23 "from": "url",
24 "url": "http://localhost:8080"
25 },
26 "protocol": "http"
27 },
28 "upstreams": [
29 {
30 "dial": "127.0.0.1:65535"
31 }
32 ]
33 }
34 ]
35 }
36 ]
37 }
38 }
39 }
40 }
41 }