Browse Source
* reverseproxy: Fix Caddyfile parsing for empty non-http transports * Update modules/caddyhttp/reverseproxy/caddyfile.go Co-authored-by: Matt Holt <mholt@users.noreply.github.com> * Rename empty transport test Co-authored-by: Matt Holt <mholt@users.noreply.github.com>master
committed by
GitHub
2 changed files with 39 additions and 1 deletions
@ -0,0 +1,36 @@ |
|||
:8884 |
|||
|
|||
reverse_proxy 127.0.0.1:65535 { |
|||
transport fastcgi |
|||
} |
|||
---------- |
|||
{ |
|||
"apps": { |
|||
"http": { |
|||
"servers": { |
|||
"srv0": { |
|||
"listen": [ |
|||
":8884" |
|||
], |
|||
"routes": [ |
|||
{ |
|||
"handle": [ |
|||
{ |
|||
"handler": "reverse_proxy", |
|||
"transport": { |
|||
"protocol": "fastcgi" |
|||
}, |
|||
"upstreams": [ |
|||
{ |
|||
"dial": "127.0.0.1:65535" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue