Subscribe

How to install ea-nginx-untar in CentOS/RHEL 8 (x86_64)

NGINX HTTP Untar Module

License: MIT Vendor: GetPageSpeed LLC https://github.com/ajax16384/ngx_http_untar_module
Important: cPanel with EasyApache 4 must be installed on your server before using this repository.

Install

# cPanel with EasyApache 4 must be installed on your server.
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-ea4
sudo dnf -y install ea-nginx-untar

Description

NGINX HTTP Untar Module 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; } This module is built for cPanel EasyApache 4 (EA4) nginx compatibility.

RPMs