Matthew Holt
1e31be8de0
reverse_proxy: Allow dynamic backends ( closes #990 and #1539 )
This PR enables the use of placeholders in an upstream's Dial address.
A Dial address must represent precisely one socket after replacements.
See also #998 and #1639 .
5 years ago
Matthew Holt
9c0bf311f9
Miscellaneous cleanups / comments
5 years ago
Matthew Holt
be7abda7d4
reverse_proxy: Implement retry_match; by default only retry GET requests
See https://caddy.community/t/http-proxy-and-non-get-retries/6304
5 years ago
Matthew Holt
f15f0d5839
Eliminate some TODOs
5 years ago
Matthew Holt
e73b117332
reverse_proxy: Ability to mutate headers; set upstream placeholders
5 years ago
Matthew Holt
758269124e
reverseproxy: Fix host and port on requests; fix Caddyfile parser
5 years ago
Matthew Holt
0830fbad03
Reconcile upstream dial addresses and request host/URL information
My goodness that was complicated
Blessed be request.Context
Sort of
5 years ago
Matthew Holt
a60d54dbfd
reverse_proxy: Ignore context.Canceled errors
These happen when downstream clients cancel the request, but that's not
our problem nor a failure in our end
5 years ago
Matthew Holt
acb8f0e0c2
Integrate circuit breaker modules with reverse proxy
5 years ago
Matthew Holt
652460e03e
Some cleanup and godoc
5 years ago
Matthew Holt
ccfb12347b
reverse_proxy: Implement active health checks
5 years ago
Matthew Holt
026df7c5cb
reverse_proxy: WIP refactor and support for FastCGI
5 years ago
Matthew Holt
3177ee8010
Add license
6 years ago
Matthew Holt
1136e2cfee
Add reverse proxy
6 years ago