-
-
Save mohemohe/bd13f3f6b97b1199342c584fccb57e87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mstdn.plusminus.io { | |
tls mohemohe@ghippos.net | |
log stdout | |
errors stdout | |
realip { | |
from 10.0.0.0/8 | |
from 172.16.0.0/12 | |
from 192.168.0.0/16 | |
} | |
header / { | |
X-Robots-Tag "noindex,nofollow,noarchive" | |
} | |
header /emoji Cache-Control "public, max-age=31536000, immutable" | |
header /packs Cache-Control "public, max-age=31536000, immutable" | |
header /system/accounts/avatars Cache-Control "public, max-age=31536000, immutable" | |
header /system/media_attachments/files Cache-Control "public, max-age=31536000, immutable" | |
proxy / http://mastodon_web:3000 { | |
transparent | |
websocket | |
} | |
proxy /api/v1/streaming http://mastodon_streaming:4000 { | |
transparent | |
websocket | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment