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
This commit is contained in:
James Loh
2025-07-15 15:44:28 +10:00
parent 190a350bd5
commit 8d0d565df9
8 changed files with 73 additions and 65 deletions

View File

@@ -23,9 +23,13 @@ DATABASE_PASSWORD=ghostpassword
ENABLE_DEVELOPER_EXPERIMENTS=false
# Developer Experiments must be enabled above
ENABLE_ACTIVITYPUB=false
ENABLE_TRAFFIC_ANALYTICS=false
# ActivityPub
ENABLE_ACTIVITYPUB=false
# If you'd prefer to self-host ActivityPub yourself uncomment the below line
# ACTIVITYPUB_TARGET=activitypub:8080
# Tinybird configuration
TINYBIRD_API_URL=https://api.tinybird.co
TINYBIRD_TRACKER_TOKEN=p.eyJxxxxx