Merge branch 'elainejackson-develop-patch-85233' into 'develop'

Fix Mastodon Media Uploads

See merge request soapbox-pub/soapbox!2646
This commit is contained in:
Alex Gleason 2023-08-21 18:44:45 +00:00
commit eb05a67671

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 {