diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-17 11:38:49 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-01-17 11:38:49 -0700 |
commit | 372540f0ee7f534d15ce000af176d0880efba5a3 (patch) | |
tree | a745f1b895980573ab03f9e5bfa02d861ad78853 /modules/caddyhttp/reverseproxy/caddyfile.go | |
parent | 793a4058105bb4da2a03291c391a91a432d1893f (diff) |
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.
Diffstat (limited to 'modules/caddyhttp/reverseproxy/caddyfile.go')
0 files changed, 0 insertions, 0 deletions