mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-23 08:23:51 +08:00
372540f0ee
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 |