@ -101,6 +101,13 @@ server {
try_files $uri @mastodon-packs;
}
# Mastodon Media
location /system {
add_header Cache-Control "public, max-age=31536000, immutable";
add_header Strict-Transport-Security "max-age=31536000" always;
# Soapbox configuration files.
# Enable CORS so we can fetch them.
location /instance {