Fix Mastodon Media Uploads

This commit is contained in:
Elaine Jackson 2023-08-21 18:42:44 +00:00
parent a3470e6bb4
commit d46d86529e

View file

@ -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;
try_files $uri @mastodon-packs;
}
# Soapbox configuration files.
# Enable CORS so we can fetch them.
location /instance {