40 Commits (af7321511c960120d61cfd22e031f43071d5a9c2)

Author SHA1 Message Date
Francis Lavoie bcb7a19cd3
rewrite: Add `method` Caddyfile directive (#4528) 3 years ago
Francis Lavoie 1feb65952a
rewrite: Fix a double-encode issue when using the `{uri}` placeholder (#4516) 3 years ago
Matthew Holt ad8d01cb66
rewrite: Implement regex path replacements 4 years ago
go-d 88a38bd00d
rewrite: Use RawPath instead of Path (fix #3596) (#3918) 4 years ago
Francis Lavoie 8c5d00b2bc
httpcaddyfile: New `handle_path` directive (#3281) 5 years ago
Matthew Holt 809e72792c
rewrite: Fix for rewrites with URI placeholders (#3209) 5 years ago
Matthew Holt 105acfa086
Keep type information with placeholders until replacements happen 5 years ago
Matt Holt aa6c5fde07
httpcaddyfile: Unify strip_prefix, strip_suffix, uri_replace directives (#3157) 5 years ago
Matthew Holt 0742530d3d
rewrite: Prepend "/" if missing from strip path prefix 5 years ago
Matthew Holt e51e56a494
httpcaddyfile: Fix nested blocks; add handle directive; refactor 5 years ago
Matthew Holt 07ad4655db
rewrite: Make URI modifications more transactional (#2891) 5 years ago
Matthew Holt 25dea2903e
http: A little more polish on rewrite handler and try_files directive 5 years ago
Matthew Holt d876de61e5
rewrite: Fix query string logic 5 years ago
Matthew Holt d418e319ab
rewrite: Rename parameters; implement custom query string parser 5 years ago
Matt Holt a5ebec0041
http: Change routes to sequential matcher evaluation (#2967) 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
Matthew Holt 724c728678
rewrite: Attempt query string fix (#2891) 5 years ago
Matthew Holt b1a456cfe3
rewrite: strip_prefix, strip_suffix, and uri_replace dirs (closes #2906) 5 years ago
Matthew Holt 5e9d81b507
try_files, rewrite: allow query string in try_files (fix #2891) 5 years ago
Matthew Holt 09a8517065
rewrite: query string enh.; substring replace; add tests (see #2891) 5 years ago
Matt Holt 3c90e370a4
v2: Module documentation; refactor LoadModule(); new caddy struct tags (#2924) 5 years ago
Matt Holt b00dfd3965
v2: Logging! (#2831) 5 years ago
Matthew Holt 208f2ff93c
rewrite: Options to strip prefix/suffix and issue redirects 5 years ago
Matthew Holt a458544d9f
Minor enhancements/fixes to rewrite directive and template virt req's 5 years ago
Matthew Holt 8c55167f71
rewrite: Return parse error if too many Caddyfile args (fixes #2791) 5 years ago
Matthew Holt d9136fb0a0
rewrite: Caddyfile directive should always invoke a rehandle 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
Matt Holt 9343403358
Flatten HTTP handler config (#2662) (#2663) 6 years ago
Matthew Holt 4a3a418156
Flatten HTTP handler config (#2662) 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 5137859e47 Rename caddy2 -> caddy 6 years ago
Matthew Holt 613aecb898 Change import paths to GitHub package names 6 years ago
Matthew Holt 9e576c76e7 Add request_body middleware and some limits to HTTP servers 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 67d32e6779 Fix up matchers tests and take care of TODO in rewrite 6 years ago
Matthew Holt 65195a726d Implement rewrite middleware; fix middleware stack bugs 6 years ago