Plugin or method to create a list of sites

I’m figuring it’s a plugin thing rather than. Core function.

But is anyone aware of a plugin that will read the current running config and present all of the reverse proxied sites.

I’m aware of dashboard apps like dashy, but I’m a bit too lazy for hand configuring things when I already have all my sores proxied via caddy. And seems logical that that would be the best source to feed a dashboard

1 Like

You can ask Caddy for its current configuration using the admin API as follows:

curl "http://localhost:2019/config/"

This is described here

The returned config is in JSON format. You can inspect the JSON for the “host” matchers to identify the configured host names.

3 Likes