caddy/modules/caddyhttp/reverseproxy
Mohammed Al Sahaf 173573035c
core: add modular network_proxy support ()
* core: add modular `network_proxy` support

Co-authored-by: @ImpostorKeanu
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* move modules around

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* add caddyfile implementation

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* address feedbcak

* Apply suggestions from code review

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

* adapt ForwardProxyURL to use the NetworkProxyRaw

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* remove redundant `url`  in log

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* code review

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* remove `.source` from the module ID

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

---------

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2025-03-21 17:06:15 +00:00
..
fastcgi fastcgi: improve parsePHPFastCGI docs () 2025-01-09 11:54:44 -07:00
forwardauth forwardauth: Skip copying missing response headers () 2024-11-04 14:58:53 -07:00
addresses.go core: Implement socket activation listeners () 2024-09-30 10:55:03 -06:00
addresses_test.go reverseproxy: do not parse upstream address too early if it contains replaceble parts () 2023-08-05 23:30:02 +02:00
admin.go fix struct names () 2024-03-06 13:53:03 +00:00
ascii.go reverseproxy: Sync up handleUpgradeResponse with stdlib () 2022-04-11 12:49:56 -06:00
ascii_test.go filesystem: Globally declared filesystems, fs directive () 2024-01-13 20:12:43 +00:00
buffering_test.go reverseproxy: more comments about buffering and add new tests () 2025-03-07 11:22:43 -07:00
caddyfile.go core: add modular network_proxy support () 2025-03-21 17:06:15 +00:00
command.go reverseproxy: Fix panic when using header-related flags (fix ) 2024-07-18 21:31:07 -06:00
copyresponse.go reverseproxy: Fix double headers in response handlers () 2022-06-22 15:10:14 -04:00
healthchecks.go caddyhttp: Add MatchWithError to replace SetVar hack () 2024-11-04 23:18:50 +00:00
hosts.go reverseproxy: add health_upstream subdirective () 2024-07-15 17:00:12 +00:00
httptransport.go core: add modular network_proxy support () 2025-03-21 17:06:15 +00:00
httptransport_test.go reverseproxy: Implement modular CA provider for TLS transport () 2024-04-12 07:19:14 -06:00
metrics.go reverseproxy: ignore duplicate collector registration error () 2025-02-04 10:55:30 +03:00
reverseproxy.go reverseproxy: more comments about buffering and add new tests () 2025-03-07 11:22:43 -07:00
selectionpolicies.go reverseproxy: Allow 0 as weights for weighted_round_robin () 2024-11-07 17:58:31 -05:00
selectionpolicies_test.go reverseproxy: Allow 0 as weights for weighted_round_robin () 2024-11-07 17:58:31 -05:00
streaming.go reverseproxy: Rewrite requests and responses for websocket over http2 () 2024-12-06 13:23:27 -07:00
streaming_test.go reverseproxy: Add more debug logs () 2023-10-11 13:36:20 -06:00
upstreams.go perf: use zap's Check() to prevent useless allocs () 2024-09-13 11:16:37 -06:00
upstreams_test.go fixed bug in resolving ip version in dynamic upstreams () 2024-07-09 03:06:30 -04:00