1
0
Fork 0

Mastodon: Remove assets from CF

This commit is contained in:
Daniel Kempkens 2023-03-06 21:47:25 +01:00
parent 8ecb4e054c
commit 7b49b86ac0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 17 additions and 13 deletions

View file

@ -1,14 +1,15 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBPOGJ6
NGtvc1BHNFl3N09WeUNyMkM2dlZJWWFHakxybjFTU0xTanRTM1FrCmpNRWVXRm8r
dm9Bc2dETXNWWHFISXpDYWVCeEpDM0JyL0Q2b1pBZStQYXMKLT4gc3NoLWVkMjU1
MTkgTmJWNGh3IEhjTHBseVplMUNqcUFrTTA2aTRpaUZNUDE0dzNRaFU1RXRIZlNF
RHNtRUkKYlFHdUcwUjdZbGZ0WEo4SklYNXZub3J2S1RmQ2RqMmY0M2dRZTI1ajg5
SQotPiBEcC1ncmVhc2UKWXFiNUd6aEFVZnFMeWxRRjdKUXJ4a0tFalBQd2xzQVFo
aHhQcjhzSUNhMGxycFlFVzFrWmMxdkdaZwotLS0gTEdrT1hpb2xTcHZWQU03ZGxa
U0Y1UmtTaFRsREJQS28vWExORHRobkUyawottk9+Z6Y1G8LW3eZLNEdr+FbC3OuF
tqX9CWEh/EMdyzoDgOByNeLx2hbtyIi5fwP3yJUmyQlQZi2+vQJ5Hc4rB/4JtEHc
INHuBdnvvgHfpOXEfUjmZ7YgjP1ILr08WdSktHTIVVx+SIkF3D4rfo9xxsNaW5ER
RKWJ8VA0S5fL705WMqsBHzQ24EXKF/vOnkJuWynFdrXflL2MIlXqT6YoVZgjev3g
Rrz0BIHWK1IZuKaMORL1awZfF4AY2HEozsR/VQwNi+Q2ywfhxQ==
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBnTnpu
VjBTaExOR2NUL1JQbE5WbTRvUXJnalpaanlQdFBWMVpuOEVtcWlNCkI1OVl1TjEx
WXlwTEQ3eFVWa2dKb01iQ0xIellCRmgzWlNnY1Z0cis0UE0KLT4gc3NoLWVkMjU1
MTkgTmJWNGh3IE9OWkd0WVlId3puRk1NR3RpM0cxRUdKNWdVVSt6VkpOUE1kd1Fw
K3JTWGcKQW8ybytFMkhjV3psVmlBWjllU2lzS3kyTzF5R2NkL2ZvK3dTay9BMGhH
UQotPiA1Si1ncmVhc2UgM0kKQzZSeitla2Z3WTNvWG01VWJKOWVwYzh0Tm5XUHhZ
UUJjSm9aVy9ML3l6L3l4dENJVmRtZlZ4dVhQZm14WDZzVAp0N2ZjVGRNdWNEVm1l
L3V5RVRaQkJqamdDdkEKLS0tIFJONlFsa2YwSGtxMFA4eHNvbi9pMXpya2FYTXZo
SnRDSXB0Rk84ZkQyMW8KBr98HHKrcf1RBu9ff2vX5eomGh9zMIoICPxKejEgk2cu
9BnP1XIoqU+qRKW6iXBX4yT9q6ewoic+OVzCKUA9HyDFOq0O3Y7ojNaDNAZFgGtg
QbEAP4klvhlobsIm9UBJqhhe9zYzdmyWc1F2vOKNc7XOzr35EApBsSrrUlFVIW7m
mQH54oPJxXMy+ns8AW0ZE8wIjuVPEWRHMbdibInnt1KzGif7lPWnqv83UMwcwzVP
GPPTML86Ot4Y1bdA3Ueu3aP025h7
-----END AGE ENCRYPTED FILE-----

View file

@ -111,9 +111,12 @@ in
services.nginx.virtualHosts."mastodon-cdn.kempkens.io" = {
http3 = true;
root = "/var/lib/mastodon/public-system/";
root = "${config.services.mastodon.package}/public/";
forceSSL = true;
useACMEHost = "kempkens.io";
locations."/system/".alias = "/var/lib/mastodon/public-system/";
locations."/cache/".alias = "/var/lib/mastodon/public-system/cache/";
};
users.groups.mastodon.members = [ config.services.nginx.user ];