636 Commits (d9b1d463259a6f8f520edd6659dac11218c82b4e)

Author SHA1 Message Date
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 09ba9e994e
fileserver: Add `pass_thru` Caddyfile option (#4613) 3 years ago
Matt Holt 2bb8550a4c
caddyhttp: Honor wildcard hosts in log SkipHosts (#4606) 3 years ago
Matthew Holt a6199cf814
templates: Fix docs for .Args 3 years ago
Francis Lavoie f5e104944e
reverseproxy: Make shallow-ish clone of the request (#4551) 3 years ago
Matthew Holt 6b385a36f9
caddyhttp: Don't attempt to manage Tailscale certs 3 years ago
ttys3 de490c7cad
fastcgi: Set SERVER_PORT to 80 or 443 depending on scheme (#4572) 3 years ago
BitWuehler ac14b64e08
caddyhttp: Support zone identifiers in remote_ip matcher (#4597) 3 years ago
Francis Lavoie 15c95e9d5b
fileserver: Canonical redir when whole path is stripped (#4549) 3 years ago
Francis Lavoie 87a1f228b4
reverseproxy: Move status replacement intercept to `replace_status` (#4300) 3 years ago
Francis Lavoie 186fdba916
caddyhttp: Move HTTP redirect listener to an optional module (#4585) 3 years ago
Francis Lavoie ddbb234d91
caddyhttp: Always log handled errors at debug level (#4584) 3 years ago
Matt Holt 57a708d189
caddytls: Support external certificate Managers (like Tailscale) (#4541) 3 years ago
Francis Lavoie 1d0425b26f
templates: Elaborate on what's supported by the markdown function (#4564) 3 years ago
Francis Lavoie 7557d1d922
reverseproxy: Avoid returning a `nil` error during GetClientCertificate (#4550) 3 years ago
Dave Henderson 7ca5921a87
move common metrics-related funcs to internal package 3 years ago
Francis Lavoie da4a759bad
Update modules/caddyhttp/metrics_test.go 3 years ago
Dave Henderson 042abeb431
other is not uppercase 3 years ago
Dave Henderson eb891d4683
metrics: Enforce smaller set of method labels 3 years ago
Kevin Daudt 44e5e9e43f
caddyhttp: Fix test when /tmp/etc already exists (#4544) 3 years ago
Matt Holt bf380d00ab
caddyhttp: Reject absurd methods (#4538) 3 years ago
Vojtech Vitek 94035c1797
Improve the reverse-proxy CLI --to flag help message (#4535) 3 years ago
Francis Lavoie bcb7a19cd3
rewrite: Add `method` Caddyfile directive (#4528) 3 years ago
Francis Lavoie 6e6ce2be6b
caddyhttp: Fix HTTP->HTTPS redir not preferring HTTPS port if ambiguous (#4530) 3 years ago
Francis Lavoie 1feb65952a
rewrite: Fix a double-encode issue when using the `{uri}` placeholder (#4516) 3 years ago
rayjlinden 850e1605df
caddyhttp: Return HTTP 421 for mismatched Host header (#4023) 3 years ago
Francis Lavoie 80d7a356b3
caddyhttp: Redirect HTTP requests on the HTTPS port to https:// (#4313) 3 years ago
Matthew Holt 6cadb60fa2
templates: Document .OriginalReq 3 years ago
Денис Телюх 2e46c2ac1d
admin, reverseproxy: Stop timers if canceled to avoid goroutine leak (#4482) 3 years ago
Francis Lavoie e9dde23024
headers: Fix `+` in Caddyfile to properly append rather than set (#4506) 3 years ago
Francis Lavoie 3fe2c73dd0
caddyhttp: Fix `MatchPath` sanitizing (#4499) 3 years ago
Francis Lavoie 5333c3528b
reverseproxy: Fix incorrect `health_headers` Caddyfile parsing (#4485) 3 years ago
Rainer Borene 180ae0cc48
caddyhttp: Implement http.request.uuid placeholder (#4285) 3 years ago
Matt Holt ecac03cdcb
caddyhttp: Enhance vars matcher (#4433) 3 years ago
Mohammed Al Sahaf 78b5356f2b
fileserver: do not double-escape paths (#4447) 3 years ago
Adam Burgess dce81e85d5
docs: use backticks to not italicise glob path (#4460) 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
Tim Culverhouse ec14ccdd40
templates: fix inconsistent nested includes (#4452) 3 years ago
Francis Lavoie f55b123d63
caddyhttp: Split up logged remote address into IP and port (#4403) 3 years ago
Matt Holt 0eb0b60f47
logging: Remove common_log field and single_field encoder (#4149) (#4282) 3 years ago
Francis Lavoie 9ee68c1bd5
reverseproxy: Adjust defaults, document defaults (#4436) 3 years ago
Mohammed Al Sahaf 1e10f6f725
fileserver: browse: do not encode the paths in breadcrumbs and page title (#4410) 3 years ago
Jeremy Lin c8b5a81607
fileserver: Fix handling of symlink sizes in directory listings (#4415) 3 years ago
Francis Lavoie eead337324
caddyhttp: Log non-500 handler errors at debug level (#4429) 3 years ago
Matthew Holt 7d5047c1f1
caddyhttp: Log empty value for typical password headers 3 years ago
Jeremy Lin e81369e220
fileserver: Move default browse template into a separate file (#4417) 3 years ago