mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-05-13 15:09:34 +00:00
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:
@@ -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}
|
||||
# }
|
||||
|
||||
Reference in New Issue
Block a user