this post was submitted on 14 Sep 2022
6 points (100.0% liked)

Lemmy Support

4719 readers
24 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hi everyone, we want to set up a cdn in order to avoid hosting the images in our instance

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 years ago (1 children)

I have setup just a hosted a folder and serving it over nginx. Whenever I need to use CDN, I just transfer the content to the folder and use the link to that file as CDN link.

This is a very neat hack.

Not a very good hack if you need to host a large number of files.

[–] [email protected] 1 points 2 years ago (1 children)

Sounds interesting, allow me to give it a try, any tips?

[–] [email protected] 1 points 2 years ago

No tips, just host a path to a folder. Make sure the permissions to that folder are correct and only linked files are accessible