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!
$git clone https://github.com/TeamSekai/Sekai.CDN.git
)$npm i
or $yarn install
)
If you wanna use yarn, you need install yarn. (
$npm i -g yarn
)
config.json
(copy config.json.example
as config.json
)$yarn build
$yarn start
or $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...