Caddy: Fix non-www -> www placeholder

no ref

- In this redirect instance we're redirecting from `example.com` -> `www.example.com` so can actually use `{$DOMAIN}` here
- We can't in the first line of this block because Caddy doesn't (as far as I can currently tell) let us do a regex on it before putting it in to config
This commit is contained in:
James Loh
2025-07-15 21:03:41 +10:00
parent c6211c9493
commit 871504e5ad

View File

@@ -54,5 +54,5 @@
# If you're want to enable ActivityPub you _must_ enable this redirect
# REPLACE_ME {
# import snippets/Logging
# redir https://REPLACE_ME{uri}
# redir https://{$DOMAIN}{uri}
# }