1. Caddy version (caddy version
):
$ caddy version
v2.1.1 h1:X9k1+ehZPYYrSqBvf/ocUgdLSRIuiNiMo7CvyGUQKeA=
2. How I run Caddy:
caddy run -adapter caddyfile -config caddyfile
a. System environment:
MasOS 10.15.6, brew install
b. Command:
caddy run -adapter caddyfile -config caddyfile
c. Service/unit/compose file:
n/a
d. My complete Caddyfile or JSON config:
{
admin off
auto_https disable_redirects
http_port 1314
}
http://localhost:1314 {
file_server
root * {env.PWD}/www
templates (/blog)?/myip/?
}
3. The problem I’m having:
All pages processed by template.
4. Error messages and/or full log output:
n/a
5. What I already tried:
If I separate them they work correctly.
templates /myip/
templates /blog/myip/
6. Links to relevant resources:
Before I paste a wall of text here. Is regex allow for templates
directive?