ZIP#

The zip module assembles ZIP archives on the fly. A backend responds with the X-Archive-Files: zip header and a list of files. The module fetches each listed file through an Angie location, from disk or from a proxied server, and streams the archive to the client without assembling it in memory.

The archives support large files, UTC timestamps, and UTF-8 filenames. If the list gives the CRC-32 checksums of the files, clients can resume the download with the Range and If-Range headers.

Installation#

To install the module, use one of the following packages:

  • Angie: angie-module-zip;

  • Angie PRO: angie-pro-module-zip.

Loading the Module#

To use the module, it must be loaded in the main{} context:

load_module modules/ngx_http_zip_module.so;

Additional Information#

Version: a17f1c1

Full documentation and source code are available at: evanmiller/mod_zip