1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules/caddyhttp/reverseproxy
schultzie b2492f8567
reverseproxy: add health_upstream subdirective (#6451)
* Add health_upstream

Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com>

* Add health_upstream to caddyfile parsing

* Add Active Upstream case for health checks

* Update ignore health port comment

Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com>

* Update Upstream json doc

Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com>

* Update modules/caddyhttp/reverseproxy/healthchecks.go

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

* Use error rather than log for health_port override

Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com>

* Add comment about port being ignore if using upstream

Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com>

---------

Signed-off-by: Dylan Schultz <9121234+dylanschultzie@users.noreply.github.com>
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2024-07-15 17:00:12 +00:00
..
fastcgi caddytls: Upgrade ACMEz to v2; support ZeroSSL API; various fixes (#6229) 2024-04-13 21:31:43 -04:00
forwardauth caddyfile: Stricter parsing, error for brace on new line (#5505) 2023-04-20 18:43:51 +00:00
addresses.go ci: Use gofumpt to format code (#5707) 2023-08-07 19:40:31 +00:00
addresses_test.go reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
admin.go fix struct names (#6151) 2024-03-06 13:53:03 +00:00
ascii.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06:00
ascii_test.go filesystem: Globally declared filesystems, fs directive (#5833) 2024-01-13 20:12:43 +00:00
caddyfile.go reverseproxy: add health_upstream subdirective (#6451) 2024-07-15 17:00:12 +00:00
command.go cmd: reverseproxy: log: use caddy logger (#6042) 2024-01-23 10:52:02 -07:00
copyresponse.go reverseproxy: Fix double headers in response handlers (#4847) 2022-06-22 15:10:14 -04:00
healthchecks.go reverseproxy: add health_upstream subdirective (#6451) 2024-07-15 17:00:12 +00:00
hosts.go reverseproxy: add health_upstream subdirective (#6451) 2024-07-15 17:00:12 +00:00
httptransport.go reverseproxy: Wire up TLS options for H3 transport 2024-06-28 12:15:41 -06:00
httptransport_test.go reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
metrics.go reverseproxy: Fix reinitialize upstream healthy metrics (#5498) 2023-04-25 09:59:26 -06:00
reverseproxy.go caddyhttp: Reject 0-RTT early data in IP matchers and set Early-Data header when proxying (#6427) 2024-07-05 10:46:20 -06:00
selectionpolicies.go reverseproxy: add Max-Age option to sticky cookie (#6398) 2024-06-15 07:50:31 -06:00
selectionpolicies_test.go modules: fix some typo in conments (#6206) 2024-03-30 02:45:42 +00:00
streaming.go reverseproxy: handle buffered data during hijack (#6274) 2024-04-26 09:09:18 -06:00
streaming_test.go reverseproxy: Add more debug logs (#5793) 2023-10-11 13:36:20 -06:00
upstreams.go fixed bug in resolving ip version in dynamic upstreams (#6448) 2024-07-09 03:06:30 -04:00
upstreams_test.go fixed bug in resolving ip version in dynamic upstreams (#6448) 2024-07-09 03:06:30 -04:00