mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-06-02 23:16:49 +00:00
Updating ActivityPub paths
We do not support running on a subdirectory We need to proxy webfinger requests for AP to work
This commit is contained in:
committed by
James Loh
parent
6e5400acb5
commit
6e2f94f25d
@@ -14,12 +14,16 @@
|
|||||||
reverse_proxy traffic-analytics:3000
|
reverse_proxy traffic-analytics:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
# Proxy activitypub requests with any prefix (e.g. /.ghost/activitypub/ or /blog/.ghost/activitypub/)
|
# Proxy activitypub requests /.ghost/activitypub/
|
||||||
@activitypub_paths path_regexp activitypub_match ^(.*)/\.ghost/activitypub(.*)$
|
@activitypub_paths path_regexp activitypub_match ^/\.ghost/activitypub(.*)$
|
||||||
handle @activitypub_paths {
|
handle @activitypub_paths {
|
||||||
reverse_proxy activitypub:8080
|
reverse_proxy activitypub:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handle /.well-known/webfinger {
|
||||||
|
reverse_proxy activitypub:8080
|
||||||
|
}
|
||||||
|
|
||||||
# Default proxy to Ghost
|
# Default proxy to Ghost
|
||||||
handle {
|
handle {
|
||||||
reverse_proxy ghost:2368
|
reverse_proxy ghost:2368
|
||||||
|
|||||||
Reference in New Issue
Block a user