Moved from https://github.com/caddyserver/caddy/issues/4642
Did you know that the map directive cannot assign integers to placeholders? Unclear from the documentation. There is a lot of integer assignment in the example but if you assume the placeholder is an integer you would be wrong.
Luckily I ran across this forum entry.
Request: please update the documentation to explain that the map directive cannot assign integers.
Thanks!