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. |
||
|---|---|---|
| .. | ||
| caddyfile | ||
| httpcaddyfile | ||
| json5 | ||
| jsonc | ||
| configadapters.go | ||