Skip to content

HanadaLee/ngx_http_dechunk_module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NGINX HTTP dechunk module

allows range request for cached response that was recieved from upstream with Transfer-Encoding: chunked.

Example Configuration

load_module "/usr/lib64/nginx/modules/ngx_http_dechunk_module.so";

http {
    proxy_cache_path /var/lib/nginx/tmp/cache keys_zone=sample:10m max_size=10g;

    server {
        proxy_cache         sample;
        proxy_cache_valid   200 1h;
        proxy_http_version  1.1;

        proxy_cache_dechunk on;

        location / {
            proxy_pass http://upstream;
        }
    }
}

Directives

Syntax proxy_cache_dechunk on | off
Default proxy_cache_dechunk off
Context http, server, location

About

NGINX HTTP dechunk module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 100.0%