add new Access-Control-Allow-Origin header for Mastodon 3.2.0

This commit is contained in:
staticsafe 2020-07-26 19:23:51 -04:00
parent 1b6e048e43
commit 2e468240fd
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@
- ssl_certificate_key "/etc/ssl/letsencrypt/tenforward.social.pem"
- add_header Referrer-Policy "no-referrer, strict-origin-when-cross-origin"
- add_header Strict-Transport-Security max-age=31536000
- add_header 'Access-Control-Allow-Origin' '*';
- client_max_body_size 0
- location / {
try_files $uri @proxy;