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

  • rajudev@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    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.

      • rajudev@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        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