Merge branch 'elainejackson-develop-patch-85233' into 'develop'
Fix Mastodon Media Uploads See merge request soapbox-pub/soapbox!2646
This commit is contained in:
commit
eb05a67671
1 changed files with 7 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue