mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-06-07 23:16:51 +00:00
Updated Caddyfile.example comments for clarity (#36)
- Added a section title to each block that can be uncommented, so that we can reference this in the documentation - Removed the first comment line as that seems out of date and confusing - Minor improvements to some language and spelling for clarity
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
# Replace your-domain.com with your actual domain
|
|
||||||
{$DOMAIN} {
|
{$DOMAIN} {
|
||||||
import snippets/Logging
|
import snippets/Logging
|
||||||
|
|
||||||
@@ -20,7 +19,8 @@
|
|||||||
import snippets/SecurityHeaders
|
import snippets/SecurityHeaders
|
||||||
}
|
}
|
||||||
|
|
||||||
# If you have a separate domain for Ghost Admin uncomment the below block
|
# Separate admin domains
|
||||||
|
# To use a separate domain for Ghost Admin uncomment the block below (recommended)
|
||||||
# {$ADMIN_DOMAIN} {
|
# {$ADMIN_DOMAIN} {
|
||||||
# import snippets/Logging
|
# import snippets/Logging
|
||||||
#
|
#
|
||||||
@@ -42,17 +42,19 @@
|
|||||||
# import snippets/SecurityHeaders
|
# import snippets/SecurityHeaders
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# If you want to redirect the www variant of your domain to the non-www varient uncomment the below 4 lines
|
# Redirect www -> root domain
|
||||||
# Note: You must have DNS setup correctly for this to work
|
# To redirect the www variant of your domain to the non-www variant uncomment the 4 lines below
|
||||||
|
# Note: You must have DNS setup correctly for both domains for this to work
|
||||||
# www.{$DOMAIN} {
|
# www.{$DOMAIN} {
|
||||||
# import snippets/Logging
|
# import snippets/Logging
|
||||||
# redir https://{$DOMAIN}{uri}
|
# redir https://{$DOMAIN}{uri}
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# If you want to redirect the non-www variant of your domain to the www varient uncomment the below 4 lines and replace REPLACE_ME with your domain
|
# Redirect root -> www domain
|
||||||
# Note: You must have DNS setup correctly for this to work
|
# 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
|
||||||
# If you're want to enable ActivityPub you _must_ enable this redirect
|
# Note: You must have DNS setup correctly for both domains for this to work
|
||||||
# REPLACE_ME {
|
# If you want to use ActivityPub you _must_ enable this redirect
|
||||||
|
# CHANGE_ME {
|
||||||
# import snippets/Logging
|
# import snippets/Logging
|
||||||
# redir https://{$DOMAIN}{uri}
|
# redir https://{$DOMAIN}{uri}
|
||||||
# }
|
# }
|
||||||
|
|||||||
Reference in New Issue
Block a user