A module allowing the nginx to use files embedded in a zip file
Switch branches/tags
Nothing to show
Clone or download
bjarocki Merge pull request #3 from demellj/master
Log messages before freeing data
Latest commit 03e582a Dec 7, 2014
Permalink
Failed to load latest commit information.
README.md Simplified config example Jul 18, 2014
config OS Commit Jun 25, 2012
ngx_http_unzip_module.c Log messages before freeing data Jul 29, 2014

README.md

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;
  }