34 Commits (master)

Author SHA1 Message Date
Francis Lavoie e9dde23024
headers: Fix `+` in Caddyfile to properly append rather than set (#4506) 3 years ago
Matthew Holt a437206643
headers: Canonicalize case in replace (fix #4330) 3 years ago
Francis Lavoie f1c36680fc
headers: Fix Caddyfile parsing for `request_header` with matchers (#4085) 4 years ago
Francis Lavoie a26f70a12b
headers: Fix Caddyfile parsing with request matcher (#3892) 4 years ago
Gilbert Gilb's b0d5c2c8ae
headers: Support default header values in Caddyfile with '?' (#3807) 4 years ago
Matt Holt 6cea1f239d
push: Implement HTTP/2 server push (#3573) 5 years ago
Matthew Holt 37aa516a6e
headers: Trim any trailing colon from field names as a courtesy 5 years ago
Matthew Holt 9639fe7d28
header: caddyfile: Defer header operations for deletions or manually 5 years ago
Matthew Holt 2105d59936
httpcaddyfile: Rename 'headers' directive to 'header' 5 years ago
Matthew Holt 5c99267dd8
A few miscellaneous, minor fixes 5 years ago
Matthew Holt 95d944613b
Export Replacer and use concrete type instead of interface 5 years ago
Matthew Holt 95ed603de7
Improve godocs all around 5 years ago
Matt Holt 3c90e370a4
v2: Module documentation; refactor LoadModule(); new caddy struct tags (#2924) 5 years ago
Matthew Holt 2f684e42d5
reverse_proxy/headers: Expose header replacement ability in Caddyfile 5 years ago
Matthew Holt 2fd22139c6
headers: Ability to mutate request headers including http.Request.Host 5 years ago
Matthew Holt 2ab2d5bf9e
Forgot to commit caddyfile.go changes in last commit 5 years ago
Matthew Holt c09e86fddc
headers: Add ability to replace substrings in header fields 5 years ago
Matthew Holt 005a11cf4b
headers: New 'request_header' directive; handle Host header specially 5 years ago
Matthew Holt 2459c292a4
caddyfile: Improve Dispenser.NextBlock() to support nesting 5 years ago
Matthew Holt c9980fd367
Refactor Caddyfile adapter and module registration 6 years ago
Matthew Holt c4159ef76d
Fix module-related errors 6 years ago
Matthew Holt ab885f07b8
Implement config adapters and beginning of Caddyfile adapter 6 years ago
Matthew Holt 63674ba081
Rename handler modules to use http.handlers namespace 6 years ago
Matthew Holt fdd871e177
go.mod: Append /v2 to module name; update all import paths 6 years ago
Matthew Holt 3177ee8010 Add license 6 years ago
Matthew Holt d49f762f6d Various bug fixes and minor improvements 6 years ago
Matthew Holt 5137859e47 Rename caddy2 -> caddy 6 years ago
Matthew Holt 613aecb898 Change import paths to GitHub package names 6 years ago
Matthew Holt bf54615efc ResponseMatcher for conditional logic of response headers 6 years ago
Matthew Holt bc00d840e8 Export types and fields necessary to build configs (for config adapters) 6 years ago
Matthew Holt 2fd98cb040 Module.New() does not need to return an error 6 years ago
Matthew Holt 65195a726d Implement rewrite middleware; fix middleware stack bugs 6 years ago
Matthew Holt b84cb05848 Fix deferred header ops 6 years ago
Matthew Holt d22f64e6d4 Implement headers middleware 6 years ago