merping.synth.download { @local { file not path / } @local_media { path_regexp /system/(.*) } @streaming { path /api/v1/streaming path /api/v1/streaming/* } @cache_control { path_regexp ^/(emoji|packs|/system/accounts/avatars|/system/media_attachments/files) } root * /srv/docker/mastodon/public handle_errors { rewrite 500.html file_server } header { Strict-Transport-Security "max-age=31536000" } header /sw.js Cache-Control "public, max-age=0" header @cache_control Cache-Control "public, max-age=31536000, immutable" handle @local { file_server } handle @streaming { reverse_proxy 127.0.0.1:58834 { header_up Accept-Encoding identity } } reverse_proxy 127.0.0.1:46098 { header_up Accept-Encoding identity header_up X-Forwarded-Port 443 transport http { keepalive 5s keepalive_idle_conns 10 } } import common-settings import log mastodon import robots-txt }