Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 458 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 458 Bytes

What is this?

A nginx module enabling fetching of files that are stored in zipped archives.

Nginx configuration example

  • file_in_unzip_archivefile - points to the zipped file
  • file_in_unzip_extract - file to be extracted from the zipped file
  • file_in_unzip - flag activating the module
  location ~ ^/(.+?\.zip)/(.*)$ {
      file_in_unzip_archivefile "$document_root/$1";
      file_in_unzip_extract "$2";
      file_in_unzip;
  }