Re: max_ranges has no effect

2019-10-14 Thread Hett
Next headers resolve my issue proxy_set_header Range ""; proxy_hide_header Accept-Ranges; add_header Accept-Ranges none; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285861,285876#msg-285876 ___ nginx mailing list

Re: max_ranges has no effect

2019-10-14 Thread Hett
Thanks, I thought so, and I thought nginx will delete this header via `max_ranges` directive. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285861,285875#msg-285875 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/li

Re: max_ranges has no effect

2019-10-14 Thread Sergey Kandaurov
> On 14 Oct 2019, at 09:56, Hett wrote: > > Hello, > I want to disable resumable downloads. > Added max_ranges directive: > > >location ~ ^(/[^/]+/[^/]+/[^/]+) { >set $zone_limit_key $binary_remote_addr$host; >limit_req zone=req_free burst=10 nodelay; >limit_conn

max_ranges has no effect

2019-10-13 Thread Hett
Hello, I want to disable resumable downloads. Added max_ranges directive: location ~ ^(/[^/]+/[^/]+/[^/]+) { set $zone_limit_key $binary_remote_addr$host; limit_req zone=req_free burst=10 nodelay; limit_conn conn_free 1; max_ranges 0; rewrite ^/([^/]+)