Updated Caddyfile.example to clarify ActivityPub requirement (#37)

- ActivityPub only requires this redirect if you are using a www domain
This commit is contained in:
Hannah Wolfe
2025-07-31 16:02:42 +01:00
committed by GitHub
parent 82e6085bd7
commit 9ef8319d83

View File

@@ -53,7 +53,7 @@
# Redirect root -> www domain # Redirect root -> www domain
# To redirect the non-www variant of your domain to the www variant uncomment the 4 lines below and change CHANGE_ME to your root domain # To redirect the non-www variant of your domain to the www variant uncomment the 4 lines below and change CHANGE_ME to your root domain
# Note: You must have DNS setup correctly for both domains for this to work # Note: You must have DNS setup correctly for both domains for this to work
# If you want to use ActivityPub you _must_ enable this redirect # When using ActivityPub with a www. domain, you must enable this redirect for ActivityPub to work correctly
# CHANGE_ME { # CHANGE_ME {
# import snippets/Logging # import snippets/Logging
# redir https://{$DOMAIN}{uri} # redir https://{$DOMAIN}{uri}