At OSDN, we are looking for Mirror Providers who will host a mirror site for our file release system, at all times. If you are interested in helping us, please read the following information on OSDN's public mirror website. Please contact us when you create one.
Complete the configuration for http server as instructed below.
Here's a configuration example of apache2. When using other type of http server, configure to behave in the same way.
AddType application/x-gzip .gz AddType application/x-lzma .lzma AddType application/x-xz .xz AddType application/x-xpinstall .xpi AddType application/x-apple-diskimage .dmg
If you using nginx, please add following to mime.types config file (not http server config, MIME types cannot be appended dynamically on nginx).
application/x-gzip gz; application/x-lzma lzma; application/x-xz xz; application/x-xpinstall xpi; application/x-apple-diskimage dmg;
Please contact OSDN system admin (admin -at- osdn.net) to inform the following information.
If you don't have a problem that we use all the above information, we will contact you after we complete the rsync configuration.
Once you receive a message from us that the configuration has been completed, you can start mirroring via rsync. On mirror website, please be advised to execute rsync in the way shown below. (* Those of you who have already used rsync before must be familiar with it already, but let us remind you that the / at the end of a path has it own function, so please heed the instruction precisely.)
rsync -rplHtqSz --del rsync://master.dl.osdn.net/download/ /path/to/mirror-dir/
After mirroring is done for the very first time, make sure to configure so that the above rsync gets executed once every hour using cron or something. By the way, mirroring website that doesn't get updated for over 12 hours will be automatically removed from the download's sorting destinations.
When you complete the configuration for mirroring via rsync, please let us know. After we confirm the condition, we will begin directing to the mirror server.
[PageInfo]
LastUpdate: 2020-06-22 10:04:25, ModifiedBy: ishikawa
[License]
GNU Free Documentation License
[Permissions]
view:all, edit:members, delete/config:members