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

max_ranges has no effect

2019-10-13 Thread Hett
; proxy_intercept_errors on; } But it has no effect hett@hett-pc: $ curl -v -r 100-102 "https://..."; 2>&1 > /dev/null | grep "<" < HTTP/1.1 206 Partial Content < Server: nginx < Date: Mon, 14 Oct 2019 06:41:13 GMT < Content-Type: application/

Re: Remove whitespaces from $args

2016-04-28 Thread Hett
Hi, I using third-party software, in some cases users create not valid url, and I want to fix it for example: http://xx.yy/xx/yy/?a=1&b=1 2 3.txt need replace by: http://xx.yy/xx/yy/?a=1&b=123.txt Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266482,266511#msg-266511 ___

Remove whitespaces from $args

2016-04-28 Thread Hett
Hi, Tell me please, how can I remove all spaces from $args ? I create solution, it remove up to 5 spaces. But it not best way i think. if ($args ~ (.*)\s(.*)$) { set $args $1$2; } if ($args ~ (.*)\s(.*)$) { set $args $1$2; } if ($args ~ (.*)\s(.*)$) { set $args