Enabling "Transfer-Encoding : chunked"

anish10dec nginx-forum at forum.nginx.org
Wed Sep 26 08:49:42 UTC 2018


We are using Nginx with DAV Module , where encoder is pushing the content. 
These content when being accessed is not coming with header
"Transfer-Encoding : chunked" though these header is being added by
Encoder.


Below is version details : 

nginx version: nginx/1.10.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
built with OpenSSL 1.0.2k-fips  26 Jan 2017
TLS SNI support enabled
configure arguments: --with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module --with-http_dav_module
--add-module=/opt/nginx-dav-ext-module-master --with-http_flv_module
--with-http_mp4_module --with-http_gunzip_module
--with-http_gzip_static_module --with-http_random_index_module
--with-http_secure_link_module --with-http_stub_status_module
--with-http_auth_request_module --with-mail --with-mail_ssl_module
--with-file-aio --with-ipv6

Below is the nginx configuration where encoder is pushing the content on
Nginx running on Port 81

location /packagerx {
        root   /ram/streams_live/packagerx;
        dav_methods PUT DELETE MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS;
        create_full_put_path  on;
        dav_access user:rw group:rw all:r;
        autoindex on;
        client_max_body_size 100m;
}

Below is the configuration from which Nginx running on Port 80 is used for
accessing the content 

location / {
        root   /ram/streams_live/packagerx;
        expires 1h;
        access_log /usr/local/nginx/logs/access_client.log lt-custom;
        proxy_buffering off;
        chunked_transfer_encoding on;

            types {
                application/dash+xml mpd;
                application/vnd.apple.mpegurl m3u8;
                video/mp2t ts;
                video/x-m4v                           m4v;
                audio/x-m4a                           m4a;
                text/html                                 html htm shtml;
                text/css                                   css;
                text/xml                                   xml;
                image/gif                                 gif;
                image/jpeg                               jpeg jpg;
                application/javascript               js;
                application/atom+xml               atom;
                application/rss+xml                  rss;
                text/mathml                              mml;
                text/plain                                  txt;

            }
}

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281371,281413#msg-281413



More information about the nginx mailing list