How to Become a Mozilla Mirror
Update: In August 2012 we started using CDNs instead of volunteer mirrors, so are not accepting any new mirrors. The rsync modules are still available but aren't maintained as often, in particular mozilla-current is likely to be out of date, and mozilla-releases larger than described below.
Our file archive is available at http://ftp.mozilla.org/pub/mozilla.org, and our releases archive is available at http://releases.mozilla.org/pub/mozilla.org, as well as from a number of mirrors all over the world. We highly recommend you use one of our mirrors to get the latest Mozilla software.
If you would like to mirror the contents of the archives, we offer rsync access to do so. We have two different modules available for your use:
- releases-rsync.mozilla.org::mozilla-current/, contains whatever releases are currently generating the most traffic, and content varies depending on what the most recent releases are. Typically this is the current versions of Firefox and Thunderbird. Size 40-50 GB;
- releases-rsync.mozilla.org::mozilla-releases/, contains several recent versions of Firefox, Thunderbird, SeaMonkey, Sunbird and other Mozilla product releases, as well as Add-ons (extensions, themes, etc), Size: 100-130 GB.
Use them as follows:
Current releases only:
rsync -a --delete --delete-before releases-rsync.mozilla.org::mozilla-current/ /your/local/mirror/path/
All releases:
rsync -a --delete --delete-before releases-rsync.mozilla.org::mozilla-releases/ /your/local/mirror/path/
The mozilla-all module, which is the complete archive (what's visible on ftp.mozilla.org, 4.0TB and growing), is no longer publicly available via rsync due to its size. If you really want it all, contact us to make arrangements.
We are currently only accepting HTTP mirrors at this time.
To mirror us correctly, you will need to add the following directives to the <VirtualHost> or <Directory> configuration block (if you're using Apache HTTPD) for your mirror so that Apple disk images, Mozilla XPInstaller packs, partial updates, and JAR files are downloaded correctly to end-users' browsers. Users hate it when they click a file and get a browser window full of garbage. Our download redirector will not send requests to you if you are serving the files with the wrong MIME types.
AddType application/x-apple-diskimage dmg
AddType application/x-xpinstall xpi
AddType application/x-java-archive jar
AddType application/octet-stream mar
AddType application/octet-stream msi
AddType application/vnd.ms-cab-compressed cab
AddType application/x-install-instructions install
AddType application/x-debian-package deb
AddType application/vnd.android.package-archive apk
Alternately, add "AllowOverride FileInfo" to the appropriate configuration block and the /pub/mozilla.org/.htaccess file will add them for you automatically.
If you're not using Apache HTTPD, you'll need to make the necessary equivalent changes in your server config to make sure the MIME types are correct.
If you would like to be listed on the mirrors page, and included in our automatic redirect pool, please send email to mirror-submissions@mozilla.org with the following information:
- Mirror location (country, city, state, province);
- Mirror connection speed; (and the maximum traffic you can sustain for your mirror);
- URL of your HTTP mirror (e.g. http://example.com/pub/mozilla.org/).
- Name you want it listed as on http://www.mozilla.org/mirrors.html.
Please set your mirror to update every 15 minutes so we can assure that our network of mirrors is as fresh as possible. We will be monitoring the quality of your mirror for responsiveness and validity several times a day. Currently, basic availability checks are run on the most popular files every 5 minutes.
Your server must be able to accept Range requests to be included in our automatic redirect pool. Apache HTTPD is known to support this by default.
If you've signed up to be included in our automatic redirect pool, please sign up for the mirrors@mozilla.org mailing list which will be used to notify mirror admins of impending releases and changes to mirroring policy.
For feedback, or if you have any questions, contact mirror-submissions@mozilla.org or visit the #mirrors channel on irc.mozilla.org.
