1. Output of caddy version
:
Latest caddy2 docker image
2. How I run Caddy:
docker
a. System environment:
docker
b. Command:
whatever the docker image runs
c. Service/unit/compose file:
default docker
d. My complete Caddy config:
just the default for now
3. The problem I’m having:
WebFinger is a nice idea for binding your blog to your identity. E.g. your mastodon account. Unfortunately the webfinger specification is written so that it assumes code is responding to your GET /.well-known/webfinger?resource=$what
request. I (and many others) run our blogs as static web pages. Ideally webfinger would have been specified as /.well-known/webfinger/acct/example.com/carol
instead of /.well-known/webfinger?resource=acct:carol@example.com
.
Can a caddy rewrite rule be used to transform from the GET params to a file name? Or do I have to just specify a static file for /.well-known/webfinger
which then returns my info regardless of the resource/query?
4. Error messages and/or full log output:
none yet
5. What I already tried:
googling and reading relevant documentation