https://github.com/ideal/ngx_http_auto_keepalive
nginx module to auto disable keepalive in some situations
https://github.com/ideal/ngx_http_auto_keepalive
Last synced: about 1 year ago
JSON representation
nginx module to auto disable keepalive in some situations
- Host: GitHub
- URL: https://github.com/ideal/ngx_http_auto_keepalive
- Owner: ideal
- Created: 2013-09-21T14:25:30.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-22T07:04:20.000Z (almost 13 years ago)
- Last Synced: 2025-03-30T13:04:05.864Z (over 1 year ago)
- Language: C
- Size: 137 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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";
```