Mastodon: Remove assets from CF
This commit is contained in:
parent
7b49b86ac0
commit
dcd193e4e6
1 changed files with 4 additions and 0 deletions
|
@ -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/";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue