How to install nginx-module-untar in Debian 12 (bookworm)

NGINX HTTP Untar Module

Vendor: GetPageSpeed https://github.com/ajax16384/ngx_http_untar_module

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
echo "deb [signed-by=/etc/apt/keyrings/deb-archive-keyring.gpg] https://extras.getpagespeed.com/debian bookworm-mainline-early main" | sudo tee /etc/apt/sources.list.d/getpagespeed-mainline-early.list
sudo apt-get update
sudo apt-get install -y nginx-module-untar

Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.

Description

This NGINX module can serve static file content directly from tar archives. Inspired by nginx-unzip-module. Features: * Zero-copy: outputs content directly from archive file (no temporary files) * Caching parsed archive file entries: reduce archive scan-search time * Supported tar item types: normal file, long file name data Configuration example: location ~ ^/(.+?\.tar)/(.*)$ { untar_archive "$document_root/$1"; untar_file "$2"; untar; }

Packages

Package Size Built
nginx-module-untar_1.31.8+1.1-9~gps1+deb12+mainline_amd64 84 KiB 2026-10-21
nginx-module-untar_1.31.8+1.1-9~gps1+deb12+mainline_arm64 84 KiB 2026-10-21

Subscribe