Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 624 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 624 Bytes

ngx_http_auto_keepalive

This module disables keepalive automatically when the http requests are for iso, zip, gz ... files and have refers, e.g. when they are directed from official site to mirror.bjtu.edu.cn to download a software package. In this situation, we need not to still keep-alive for these requests.

Installation Instructions

Build and install by running in nginx directory:

./configure --add-module=/path/to/ngx_http_auto_keepalive

Configuration

In main, server or location config:

    keepalive_autoclose on;
    autoclose_filetypes ".iso .zip";