1
0
Fork 0

Mastodon: Remove assets from CF

This commit is contained in:
Daniel Kempkens 2023-03-06 21:55:07 +01:00
parent 7b49b86ac0
commit dcd193e4e6
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -115,6 +115,10 @@ in
forceSSL = true; forceSSL = true;
useACMEHost = "kempkens.io"; useACMEHost = "kempkens.io";
extraConfig = ''
add_header Access-Control-Allow-Origin https://mastodon.kempkens.io;
'';
locations."/system/".alias = "/var/lib/mastodon/public-system/"; locations."/system/".alias = "/var/lib/mastodon/public-system/";
locations."/cache/".alias = "/var/lib/mastodon/public-system/cache/"; locations."/cache/".alias = "/var/lib/mastodon/public-system/cache/";
}; };