mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-20 22:52:58 -05:00
700 B
700 B
:9080 uri replace "}" %7D uri replace "{" %7B
respond "{query}"
{ "apps": { "http": { "servers": { "srv0": { "listen": [ ":9080" ], "routes": [ { "handle": [ { "handler": "rewrite", "uri_substring": [ { "find": "\}", "replace": "%7D" } ] }, { "handler": "rewrite", "uri_substring": [ { "find": "\{", "replace": "%7B" } ] }, { "body": "{http.request.uri.query}", "handler": "static_response" } ] } ] } } } } }