caddy/modules/caddyhttp/reverseproxy
Kévin Dunglas 8822b60863
fastcgi: rewrite to index.php only if it exists (#8372)
php_fastcgi used first_exist_fallback, which since v2.11.8 matches its final entry even when the file is absent. On a site without index.php, "/", directories with an index.html and missing files were all rewritten to the missing index.php, so file_server never served them.

php_fastcgi now uses first_exist, as v2.11.7 effectively did since globbing skipped absent files. Explicitly configured first_exist_fallback keeps its semantics. The transport normalizes the path itself, so the dot-segment protection doesn't depend on this rewrite.

Fixes #8367
2026-11-08 22:04:20 +00:00
..
fastcgi fastcgi: rewrite to index.php only if it exists (#8372) 2026-11-08 22:04:20 +00:00
forwardauth
active_health_test.go
addresses.go
addresses_test.go
admin.go reverseproxy: Track dynamic upstreams, enable passive healthchecking (#7539) 2026-03-04 15:05:26 -05:00
admin_test.go
ascii.go
ascii_test.go
buffering_test.go
caddyfile.go
client_disconnect_test.go
command.go
copyresponse.go
copyresponse_test.go
dynamic_upstreams_test.go
extended_connect_test.go
handleresponse_test.go
headers_test.go
healthchecks.go
hopheaders_test.go
hosts.go
httptransport.go
httptransport_test.go
incremental_test.go
metrics.go
metrics_test.go
passive_health_test.go
prepare_request_bench_test.go
request_trailers_test.go
retries_test.go
reverseproxy.go
selectionpolicies.go reverseproxy: preserve weights among available upstreams (#8380) 2026-11-08 11:32:09 +00:00
selectionpolicies_bench_test.go
selectionpolicies_test.go reverseproxy: preserve weights among available upstreams (#8380) 2026-11-08 11:32:09 +00:00
streaming.go reverseproxy: send every close message before closing tunnel connections (#8371) 2026-11-08 11:05:28 +00:00
streaming_test.go reverseproxy: send every close message before closing tunnel connections (#8371) 2026-11-08 11:05:28 +00:00
tracing_test.go
upstreams.go
upstreams_bench_test.go
upstreams_test.go
webtransport_pump.go
webtransport_pump_test.go
webtransport_transport.go
webtransport_transport_test.go