Skip to content

dengshuan/cdn-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Collect common CDNs especially blocked by GFW

So people can download all cdn files to a nearest VPS or localhost, and redirect CDN files to these files with faster speed

Maybe we can offer these files just like opensource mirrors

Offer a sample hosts file

How to use this

  1. Download all google cdn files: python download.py

  2. Using nginx to serve these static files

    location /ajax/ {
                 alias /path/to/downloadFiles/ajax/;
                 # eg: alias /home/dengshuan/cdn-mirror/ajax.googleapis.com/ajax/;
    }
    
  3. Add following line to your hosts file

    127.0.0.1    ajax.googleapis.com
    

About

collect common CDNs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages