my avatar. It shoud reassemble a face ulPa


Webfinger with Caddy

This is how you can add webfinger support if you’re using caddy

redir /.well-known/webfinger /webfinger/{query.resource}.json
@httpwebfinger {
	path_regexp webfinger /webfinger/https?://(.+)
rewrite @httpwebfinger /webfinger/{re.webfinger.1}

The first line redirects to a json file at /webfinger/.json. The second one removes ht http:// or https:// url scheme, because slashes are not allowed in file names.

So if you want to enable webfinger for, you put the json response in the file webfinger/ For http adresses you need to remove the scheme: the webfinger response for needs to be in webfinger/

0.01g of CO2/viewWebsite Carbon
 Cleaner than 98% of pages tested4

Letzter Render: 14.12.2022 20:55