Files
ghost-docker/caddy/snippets/ActivityPub
James Loh 8d0d565df9 Caddy: Move to more templated approach
no ref

- The goal here is to be able to provide more functionality to self-hosters through snippets and other segmented config
- Some customers run Admin <-> content domains on separate ones which our current config doesn't support
- Our current config also hardcodes a www redirect which complicates setups when you don't have that domain setup or don't even want it
- Moving to a default template customers will have to copy which includes snippets allows us to update these later on without breaking peoples setups
2025-07-15 15:44:28 +10:00

14 lines
277 B
Plaintext

# ActivityPub
# Proxy activitypub requests /.ghost/activitypub/
handle /.ghost/activitypub/* {
reverse_proxy {$ACTIVITYPUB_TARGET}
}
handle /.well-known/webfinger {
reverse_proxy {$ACTIVITYPUB_TARGET}
}
handle /.well-known/nodeinfo {
reverse_proxy {$ACTIVITYPUB_TARGET}
}