CdnFile CLI — quick reference ============================= Install ------- curl -fsSL https://cdn.cdnfile.best/files/install.sh | sh # or grab a static binary from the downloads page Authenticate ------------ cdnfile login --token Origins ------- cdnfile origins add --name web --host origin.example.com --tls cdnfile origins list cdnfile origins rm --name web Resources --------- cdnfile resource create \ --domain cdn.example.com \ --origin-group web \ --cache 1h \ --compress br,gzip cdnfile resource list cdnfile resource show cdn.example.com cdnfile resource disable cdn.example.com Cache ----- cdnfile cache purge cdn.example.com --path /assets/app.js cdnfile cache purge cdn.example.com --pattern "/img/*" cdnfile cache warm cdn.example.com --from sitemap.xml Certificates ------------ cdnfile cert upload cdn.example.com --cert fullchain.pem --key privkey.pem cdnfile cert list Stats ----- cdnfile stats cdn.example.com --period 24h cdnfile stats cdn.example.com --by pop Docs: https://cdn.cdnfile.best/#docs