# mastodon (chuckya) frontend masto.beeping.synth.download, masto.booping.synth.download { root * /var/www/fedi-frontends/chuckya-fe file_server try_files {path} / handle_path /favicon.png { root * /var/www/site/assets/synth.download/synth.png file_server import common-settings } handle_path /packs { root * /var/www/fedi-frontends/chuckya-fe/packs file_server import common-settings } import common-settings import log mastofe import robots-txt } # akkoma fe for iceshrimp akko.beeping.synth.download { # redirect api endpoints to iceshrimp @redir { path /oauth/* path /api/* path /nodeinfo/* } handle @redir { reverse_proxy 127.0.0.1:24042 import common-settings } # favicon handle_path /favicon.png { root * /var/www/site/assets/synth.download/synth.png file_server import common-settings } # akkoma frontend handle { header Cache-Control "max-age=3600" try_files {path} / root * /var/www/fedi-frontends/akkoma-fe file_server import common-settings } handle_path /static/* { header Cache-Control "max-age=3600" root * /var/www/fedi-frontends/akkoma-fe/static file_server import common-settings } import common-settings import log akkofe import robots-txt } # phanpy phanpy.beeping.synth.download, phanpy.booping.synth.download { root * /var/www/fedi-frontends/phanpy file_server try_files {path} / import common-settings import log phanpy import robots-txt } # pl-fe pl-fe.beeping.synth.download, pl-fe.booping.synth.download { root * /var/www/fedi-frontends/pl-fe file_server try_files {path} / import common-settings import log pl-fe import robots-txt }