mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-06-01 23:16:50 +00:00
Update AP with additional endpoints and make default proxying easier
This commit is contained in:
10
Caddyfile
10
Caddyfile
@@ -14,9 +14,9 @@
|
|||||||
reverse_proxy traffic-analytics:3000
|
reverse_proxy traffic-analytics:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ActivityPub
|
||||||
# Proxy activitypub requests /.ghost/activitypub/
|
# Proxy activitypub requests /.ghost/activitypub/
|
||||||
@activitypub_paths path_regexp activitypub_match ^/\.ghost/activitypub(.*)$
|
handle /.ghost/activitypub/* {
|
||||||
handle @activitypub_paths {
|
|
||||||
reverse_proxy activitypub:8080
|
reverse_proxy activitypub:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,7 +24,11 @@
|
|||||||
reverse_proxy activitypub:8080
|
reverse_proxy activitypub:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
# Default proxy to Ghost
|
handle /.well-known/nodeinfo {
|
||||||
|
reverse_proxy activitypub:8080
|
||||||
|
}
|
||||||
|
|
||||||
|
# Default proxy everything else to Ghost
|
||||||
handle {
|
handle {
|
||||||
reverse_proxy ghost:2368
|
reverse_proxy ghost:2368
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user