233 Commits (master)

Author SHA1 Message Date
Matt Holt 40b193fb79
reverseproxy: Improve hashing LB policies with HRW (#4724) 3 years ago
Francis Lavoie 3a1e0dbf47
httpcaddyfile: Deprecate paths in site addresses; use zap logs (#4728) 3 years ago
Francis Lavoie 3e3bb00265
reverseproxy: Add `_ms` placeholders for proxy durations (#4666) 3 years ago
Francis Lavoie e4ce40f8ff
reverseproxy: Sync up `handleUpgradeResponse` with stdlib (#4664) 3 years ago
Matthew Holt b8dbecb841
reverseproxy: Include port in A upstreams cache 3 years ago
Matthew Holt 2196c92c0e
reverseproxy: Don't clear name in SRV upstreams 3 years ago
Matthew Holt dc4d147388
reverseproxy: Expand SRV/A addrs for cache key 3 years ago
Francis Lavoie a9c7e94a38
chore: Comment fixes (#4634) 3 years ago
Francis Lavoie c7d6c4cbb9
reverseproxy: copy_response and copy_response_headers for handle_response routes (#4391) 3 years ago
Francis Lavoie c8f2834b51
fastcgi: Protect against requests with null bytes in the path (#4614) 3 years ago
Matt Holt ab0455922a
reverseproxy: Dynamic upstreams (with SRV and A/AAAA support) (#4470) 3 years ago
Francis Lavoie c50094fc9d
reverseproxy: Implement trusted proxies for `X-Forwarded-*` headers (#4507) 3 years ago
Francis Lavoie d058dee11d
reverseproxy: Refactor dial address parsing, augment command parsing (#4616) 3 years ago
Francis Lavoie f5e104944e
reverseproxy: Make shallow-ish clone of the request (#4551) 3 years ago
ttys3 de490c7cad
fastcgi: Set SERVER_PORT to 80 or 443 depending on scheme (#4572) 3 years ago
Francis Lavoie 87a1f228b4
reverseproxy: Move status replacement intercept to `replace_status` (#4300) 3 years ago
Francis Lavoie 7557d1d922
reverseproxy: Avoid returning a `nil` error during GetClientCertificate (#4550) 3 years ago
Vojtech Vitek 94035c1797
Improve the reverse-proxy CLI --to flag help message (#4535) 3 years ago
Денис Телюх 2e46c2ac1d
admin, reverseproxy: Stop timers if canceled to avoid goroutine leak (#4482) 3 years ago
Francis Lavoie 5333c3528b
reverseproxy: Fix incorrect `health_headers` Caddyfile parsing (#4485) 3 years ago
Francis Lavoie 5bf0adad87
caddyhttp: Make logging of credential headers opt-in (#4438) 3 years ago
Francis Lavoie 8e5aafa5cd
fastcgi: Fix a TODO, prevent zap using reflection for logging env (#4437) 3 years ago
Francis Lavoie 9ee68c1bd5
reverseproxy: Adjust defaults, document defaults (#4436) 3 years ago
Francis Lavoie f73f55dba7
reverseproxy: Sanitize scheme and host on incoming requests (#4237) 3 years ago
Francis Lavoie b092061591
reverseproxy: Prevent copying the response if a response handler ran (#4388) 3 years ago
Simão Gomes Viana 837cdc566d
caddyhttp: reverseproxy: clarify warning for -insecure (#4379) 3 years ago
KallyDev c48fadc4a7
Move from deprecated ioutil to os and io packages (#4364) 3 years ago
Matthew Holt 059fc32f00
Revert 3336faf2 (close #4360) 3 years ago
Matthew Holt 3336faf254
reverseproxy: Log error at error level (fix #4360) 3 years ago
Francis Lavoie 3f2c3ecf85
fastcgi: Implement `try_files` override in Caddyfile directive (#4347) 3 years ago
Francis Lavoie a779e1b383
fastcgi: Fix Caddyfile parsing when `handle_response` is used (#4342) 3 years ago
Francis Lavoie f70a7578fa
reverseproxy: Remove redundant flushing (#4299) 3 years ago
Matthew Holt 8a974a4f8f
logging: Warn for deprecated single_field encoder 3 years ago
Francis Lavoie e6c29ce081
reverseproxy: Incorporate latest proxy changes from stdlib (#4266) 4 years ago
elnoro d882211080
reverseproxy: Keep path to unix socket as dial address (#4232) 4 years ago
Matt Holt 9d4ed3a323
caddyhttp: Refactor and export SanitizedPathJoin for use in fastcgi (#4207) 4 years ago
Matthew Holt 238914d70b
Some misc. cleanup 4 years ago
Matthew Holt 7c68809f4e
reverseproxy: Fix overwriting of max_idle_conns_per_host (closes #4201) 4 years ago
Matthew Holt 2a8109468c
reverseproxy: Always remove hop-by-hop headers 4 years ago
Francis Lavoie aef8d4decc
reverseproxy: Set the headers in the replacer before `handle_response` (#4165) 4 years ago
Matthew Holt a17c3b568d
reverseproxy: Minor logging improvements 4 years ago
Francis Lavoie e4a22de9d1
reverseproxy: Add `handle_response` blocks to `reverse_proxy` (#3710) (#4021) 4 years ago
Simão Gomes Viana 9017557169
reverseproxy: fix hash selection policy (#4137) 4 years ago
Francis Lavoie 4d0474e3b8
reverseproxy: Admin endpoint for reporting upstream statuses (#4125) 4 years ago
Dimitri Masson bd357bf005
reverseproxy: Set cookie path to `/` when using cookie lb_policy (#4096) 4 years ago
Francis Lavoie 75f797debd
reverseproxy: Implement health_uri, deprecate health_path, supports query (#4050) 4 years ago
Francis Lavoie 51f35ba03f
reverseproxy: Fix upstreams with placeholders with no port (#4046) 4 years ago
Matthew Holt ce5a0934a8
reverseproxy: Fix round robin data race (#4038) 4 years ago
Matt Holt 6722ae3a83
reverseproxy: Add duration/latency placeholders (close #4012) (#4013) 4 years ago
Matthew Holt 5ef76ff3e6
reverseproxy: Response buffering & configurable buffer size 4 years ago