This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/tobru-ch/cm-caddyfile.yaml
Tobias Brunner f35aa2efad
All checks were successful
continuous-integration/drone/push Build is passing
add caddy to the mix for webfinger
an experiment
2022-11-23 17:52:18 +01:00

8 lines
762 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: caddyconfig
data:
Caddyfile: "http://localhost:8080 {\n\theader content-type \"application/jrd+json;
charset=utf-8\"\n\trespond \"{\\\"subject\\\":\\\"acct:tobru@mstdn.social\\\",\\\"aliases\\\":[\\\"https://mstdn.social/@tobru\\\",\\\"https://mstdn.social/users/tobru\\\"],\\\"links\\\":[{\\\"rel\\\":\\\"http://webfinger.net/rel/profile-page\\\",\\\"type\\\":\\\"text/html\\\",\\\"href\\\":\\\"https://mstdn.social/@tobru\\\"},{\\\"rel\\\":\\\"self\\\",\\\"type\\\":\\\"application/activity+json\\\",\\\"href\\\":\\\"https://mstdn.social/users/tobru\\\"},{\\\"rel\\\":\\\"http://ostatus.org/schema/1.0/subscribe\\\",\\\"template\\\":\\\"https://mstdn.social/authorize_interaction?uri={uri}\\\"}]}\"\n}\n"