summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/templates/tplcontext_test.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-16 12:09:54 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-16 12:09:54 -0700
commit21643a007a2d2d90e1636ecd6b49f82560f4c939 (patch)
tree178b8495b693c303be429feb38c7ea4af3f50bde /modules/caddyhttp/templates/tplcontext_test.go
parent2466ed148466ee17fb4da6d2d732e1a16f0469a6 (diff)
httpcaddyfile: Replace 'handler_order' option with 'order'
This allows individual directives to be ordered relative to others, where order matters (for example HTTP handlers). Will primarily be useful when developing new directives, so you don't have to modify the Caddy source code. Can also be useful if you prefer that redir comes before rewrite, for example. Note that these are global options. The route directive can be used to give a specific order to a specific group of HTTP handler directives.
Diffstat (limited to 'modules/caddyhttp/templates/tplcontext_test.go')
0 files changed, 0 insertions, 0 deletions