mirror of
https://github.com/caddyserver/caddy.git
synced 2025-12-07 13:45:34 -05:00
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.