1
0
Fork 0

Mastodon: Support all "old" paths

This commit is contained in:
Daniel Kempkens 2023-03-06 22:00:48 +01:00
parent dcd193e4e6
commit ee065a6fe9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -120,7 +120,12 @@ in
'';
locations."/system/".alias = "/var/lib/mastodon/public-system/";
# "Old" CDN paths
locations."/accounts/".alias = "/var/lib/mastodon/public-system/accounts/";
locations."/cache/".alias = "/var/lib/mastodon/public-system/cache/";
locations."/custom_emojis/".alias = "/var/lib/mastodon/public-system/custom_emojis/";
locations."/media_attachments/".alias = "/var/lib/mastodon/public-system/media_attachments/";
};
users.groups.mastodon.members = [ config.services.nginx.user ];