caddy/modules/caddyhttp
Mohammed Al Sahaf 173573035c
core: add modular `network_proxy` support (#6399)
* 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
..
caddyauth
encode encode: try to use sendfile when compression is not used (#6749) 2024-12-20 21:37:16 +00:00
fileserver file_server: use the UTC timezone for modified time (#6830) 2025-02-10 08:39:43 -07:00
headers headers: Allow nil HeaderOps (fix #6893) 2025-03-11 08:52:15 -06:00
intercept
logging
map
proxyprotocol
push
requestbody requestbody: Fix ContentLength calculation after body replacement (#6896) 2025-03-12 22:18:02 +00:00
reverseproxy core: add modular `network_proxy` support (#6399) 2025-03-21 17:06:15 +00:00
rewrite rewrite: Don't add / in Caddyfile, do it after replacer (#6662) 2024-11-05 10:15:31 -07:00
standard
templates
tracing
app.go chore: Remove unnecessary explicit type parameters 2025-03-07 11:18:00 -07:00
autohttps.go caddytls: Don't publish ECH configs if other records don't exist 2025-03-12 16:33:14 -06:00
caddyhttp.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
caddyhttp_test.go
celmatcher.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
celmatcher_test.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
errors.go
http2listener.go
httpredirectlistener.go
invoke.go
ip_matchers.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
ip_range.go
logging.go Revert "logging: Always set fields func; fix #6829" 2025-02-07 06:23:43 -07:00
marshalers.go caddyhttp: Allow matching Transfer-Encoding, add to access logs (#6629) 2024-12-20 11:16:34 -07:00
matchers.go caddyfile: add error handling for unrecognized subdirective/options in various modules (#6884) 2025-03-08 23:45:05 +03:00
matchers_test.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
metrics.go
metrics_test.go
replacer.go caddyhttp: Add `{?query}` placeholder (#6714) 2024-12-02 08:06:38 -05:00
replacer_test.go
responsematchers.go caddyhttp: Allow matching Transfer-Encoding, add to access logs (#6629) 2024-12-20 11:16:34 -07:00
responsematchers_test.go
responsewriter.go caddyhttp: ResponseRecorder sets stream regardless of 1xx 2025-01-27 08:18:37 -07:00
responsewriter_test.go
routes.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
server.go Revert "logging: Always set fields func; fix #6829" 2025-02-07 06:23:43 -07:00
server_test.go
staticerror.go
staticresp.go
staticresp_test.go
subroute.go
vars.go caddyhttp: Add `MatchWithError` to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00