38 lines
No EOL
1.5 KiB
Text
38 lines
No EOL
1.5 KiB
Text
*.booping.synth.download {
|
|
handle /.well-known/atproto-did {
|
|
rewrite * /.well-known/atproto-did?protocol=ap&id=%40{http.request.host.labels.3}%40booping.synth.download
|
|
|
|
reverse_proxy https://fed.brid.gy {
|
|
header_up Host fed.brid.gy
|
|
}
|
|
}
|
|
}
|
|
|
|
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/* http://192.168.1.73:57378
|
|
reverse_proxy /avatar/* http://192.168.1.73:57378
|
|
reverse_proxy /url http://192.168.1.73:57378
|
|
reverse_proxy /twemoji-badge/* http://192.168.1.73:57378
|
|
reverse_proxy /identicon/* http://192.168.1.73:57378
|
|
|
|
# activitypub service
|
|
reverse_proxy @activity_pub http://192.168.1.73:47815
|
|
reverse_proxy /api/v2/search http://192.168.1.73:47815
|
|
reverse_proxy /api/admin/federation/refresh-remote-instance-metadata http://192.168.1.73:47815
|
|
reverse_proxy /api/notes/polls/refresh http://192.168.1.73:47815
|
|
reverse_proxy /api/federation/update-remote-user http://192.168.1.73:47815
|
|
reverse_proxy /api/ap/get http://192.168.1.73:47815
|
|
reverse_proxy /api/ap/show http://192.168.1.73:47815
|
|
|
|
# api + web frontend (+ general fallback)
|
|
reverse_proxy http://192.168.1.73:60628
|
|
}
|
|
} |