mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-07-03 20:31:38 +00:00
Add ghost
This commit is contained in:
@ -139,6 +139,24 @@
|
||||
}
|
||||
}
|
||||
|
||||
############## ghost ##############
|
||||
{$GHOST_DOMAIN} {
|
||||
tls /etc/ssl/custom/{$GHOST_CRT} /etc/ssl/custom/{$GHOST_KEY}
|
||||
|
||||
request_body {
|
||||
max_size 124MB
|
||||
}
|
||||
|
||||
reverse_proxy http://ghost:2368 {
|
||||
header_up X-Real-IP {http.request.header.Cf-Connecting-Ip}
|
||||
header_up X-Forwarded-For {http.request.header.Cf-Connecting-Ip}
|
||||
header_up X-Country-Code {http.request.header.Cf-Ipcountry}
|
||||
header_up X-Forwarded-Proto {http.request.scheme}
|
||||
header_up Host {http.request.host}
|
||||
header_up -CF-*
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
import Caddyfile.private
|
||||
|
Reference in New Issue
Block a user