caddy/caddyconfig/httpcaddyfile
Matthew Holt 372540f0ee
httpcaddyfile: Move redir before rewrite
Using rewrite is like saying, "I accept this request, but I just need
to act on it as if it came in differently."

Whereas redir implies more of, "I reject this request, send it to me
differently, then I will process it."

Makes sense for it to come before rewrites. This can always be changed
using the 'order' global option if needed.
2020-01-17 11:38:49 -07:00
..
addresses.go caddyfile: Less strict URL parsing; allows placeholders 2020-01-09 12:35:53 -07:00
addresses_fuzz.go fuzz: introduce continuous fuzzing for Caddy (#2723) 2019-10-25 18:52:16 -06:00
addresses_test.go caddyfile: Less strict URL parsing; allows placeholders 2020-01-09 12:35:53 -07:00
builtins.go httpcaddyfile: Fix nested blocks; add handle directive; refactor 2020-01-16 17:08:52 -07:00
directives.go httpcaddyfile: Move redir before rewrite 2020-01-17 11:38:49 -07:00
httptype.go httpcaddyfile: Fix nested blocks; add handle directive; refactor 2020-01-16 17:08:52 -07:00
httptype_test.go httpcaddyfile: Fix nested blocks; add handle directive; refactor 2020-01-16 17:08:52 -07:00
options.go httpcaddyfile: Replace 'handler_order' option with 'order' 2020-01-16 12:09:54 -07:00
parser_test.go v2: Implement Caddyfile enhancements (breaking changes) (#2960) 2020-01-09 14:00:32 -07:00