28 lines
No EOL
1 KiB
Text
28 lines
No EOL
1 KiB
Text
booping.synth.download {
|
|
import common-settings
|
|
import log sharkey
|
|
import robots-txt
|
|
|
|
@activity_pub `header({'Content-Type': 'application/activity+json*'}) || header({'Content-Type': 'application/ld+json*'}) || header({'Accept': 'application/activity+json*'}) || header({'Accept': 'application/ld+json*'})`
|
|
|
|
route {
|
|
# media service
|
|
reverse_proxy /files/* 127.0.0.1:57378
|
|
reverse_proxy /avatar/* 127.0.0.1:57378
|
|
reverse_proxy /url 127.0.0.1:57378
|
|
reverse_proxy /twemoji-badge/* 127.0.0.1:57378
|
|
reverse_proxy /identicon/* 127.0.0.1:57378
|
|
|
|
# activitypub service
|
|
reverse_proxy @activity_pub 127.0.0.1:47815
|
|
reverse_proxy /api/v2/search 127.0.0.1:47815
|
|
reverse_proxy /api/admin/federation/refresh-remote-instance-metadata 127.0.0.1:47815
|
|
reverse_proxy /api/notes/polls/refresh 127.0.0.1:47815
|
|
reverse_proxy /api/federation/update-remote-user 127.0.0.1:47815
|
|
reverse_proxy /api/ap/get 127.0.0.1:47815
|
|
reverse_proxy /api/ap/show 127.0.0.1:47815
|
|
|
|
# api + web frontend (+ general fallback)
|
|
reverse_proxy 127.0.0.1:60628
|
|
}
|
|
} |