Let's make CDN yourself!
Cloudflare Cache is serve files from CF CDN Server.
So I made this repo. You can use as Simple&Lightweight File Server or Fast&LightWeight CDN Server!
- clone this repo (
$git clone https://github.com/TeamSekai/Sekai.CDN.git) - install package (
$npm ior$yarn install)
If you wanna use yarn, you need install yarn. (
$npm i -g yarn)
- edit
config.json(copyconfig.json.exampleasconfig.json) - build with
$yarn build - run server (
$yarn startor$pm2 start yarn -- start)
Done! default port is 8080. you can view page on http://localhost:8080.
You can cache files with Cloudflare Cache!
Writing...