mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-30 19:39:43 -04:00
* Add request placeholder support for querying request cookies.
This adds the ability to query the request cookies for placeholders
using the syntax "@cookiename".
For example, this would allow rewriting based on a cookie:
rewrite {
if @version is 'dev'
to /dev/index.html
}
* Switch cookie special char from @ to :
* Switch special char for cookies from : to ~
8.2 KiB
8.2 KiB