Re: Fastcgi_pass, resolver, and validating functionality.

2016-12-07 Thread ahamilton9
I've tried recreating the configuration on my local machine, and it works just fine. Really confusing. I don't understand why I get absolutely no DNS traffic on my nginx server (beyond the few calls from other services). Not a single call from nginx. Also, I read in the documentation that "By def

How to upstream request set header based on SSI variable?

2016-12-07 Thread Jan Algermissen
Hi, I have setup SSI to include responses from upstream services. I am trying to find a way to set additional headers for these upstream requests based on a variable set in the SSI page but I am not sure if that even works at all. Does someone know *if* this is doable and if so, how? In co

Disable output_buffering in nginx config

2016-12-07 Thread basti
Hallo, for one application i need to disable output_buffering in php.ini. In my opinion there is a better solution to disable it for the special location and not for system wide php. So i try to set fastcgi_param PHP_VALUE "output_buffering=Off"; but when i reload nginx and look at the app/ or

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
nginx-1.4.0 is the version but there are many servers on which we have installed nginx with version nginx-1.10.2 , giving same error: below is hexdump output before KEY from those servers on which nginx with version 1.10.2 is running : 03 00 00 00 00 00 00 00 a8 09 48 58 00 00 00 00 |.

Re: Bypass specific host in rate_limit !!

2016-12-07 Thread shahzaib mushtaq
Hi, Thank you, so it means we can use $limit_rate with map module or something ? Is there any example with limit_rate you can direct me to ? Thanks again for help !! On Wed, Dec 7, 2016 at 5:36 PM, Francis Daly wrote: > On Wed, Dec 07, 2016 at 12:56:49PM +0500, shahzaib mushtaq wrote: > > Hi

Re: nginx error : cache file has too long header

2016-12-07 Thread Roman Arutyunyan
On Wed, Dec 07, 2016 at 03:31:58PM +0300, Roman Arutyunyan wrote: > On Wed, Dec 07, 2016 at 07:21:01AM -0500, omkar_jadhav_20 wrote: > > Please find the below : > > fe eb 47 58 00 00 00 00 f3 6f 47 58 00 00 00 00 > > |..GX.oGX| > > 0010 a6 e9 47 58 00 00 00 00 e9 9a 8c e8

Re: Bypass specific host in rate_limit !!

2016-12-07 Thread Francis Daly
On Wed, Dec 07, 2016 at 12:56:49PM +0500, shahzaib mushtaq wrote: Hi there, > Hopes you guys are doing great. Currrently, we're looking to activate > rate_limit for our mp4 traffic the only confusion is if we can bypass some > ip/host from rate_limit ? If you mean the "limit_rate" directive, the

Re: nginx error : cache file has too long header

2016-12-07 Thread Roman Arutyunyan
On Wed, Dec 07, 2016 at 07:21:01AM -0500, omkar_jadhav_20 wrote: > Please find the below : > fe eb 47 58 00 00 00 00 f3 6f 47 58 00 00 00 00 > |..GX.oGX| > 0010 a6 e9 47 58 00 00 00 00 e9 9a 8c e8 00 00 a6 00 > |..GX| > 0020 1f 02 00 00 00 00 00 00 0a 4b

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
Please find the below : fe eb 47 58 00 00 00 00 f3 6f 47 58 00 00 00 00 |..GX.oGX| 0010 a6 e9 47 58 00 00 00 00 e9 9a 8c e8 00 00 a6 00 |..GX| 0020 1f 02 00 00 00 00 00 00 0a 4b 45 59 3a 20 31 30 |.KEY: 10| Please let me know if anything else i

Re: nginx error : cache file has too long header

2016-12-07 Thread Roman Arutyunyan
On Wed, Dec 07, 2016 at 06:34:29AM -0500, omkar_jadhav_20 wrote: > Yes this is one of those cache file for which we received said error. > I can see total size of this file is just 5300 bytes however we have set > proxy_buffer size set to 4096k > ls -lrt /cache/12054/1/fd/54ab395a128225b98118b08cf9

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
Yes this is one of those cache file for which we received said error. I can see total size of this file is just 5300 bytes however we have set proxy_buffer size set to 4096k ls -lrt /cache/12054/1/fd/54ab395a128225b98118b08cf9d89fd1 x 5300 Dec 7 16:21 /cache/12054/1/fd/54ab395a128225b98118b08cf9d8

Re: nginx error : cache file has too long header

2016-12-07 Thread Roman Arutyunyan
On Wed, Dec 07, 2016 at 06:00:34AM -0500, omkar_jadhav_20 wrote: > I can open and read such cache files and below things are there inside these > files : > > KEY: (this is one liner key) > HTTP/1.1 200 OK > x-mobi-fs-ver: > X-Frame-Options: > Cache-Control: > Last-Modified: > ETag: > Content-Type

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
I can open and read such cache files and below things are there inside these files : KEY: (this is one liner key) HTTP/1.1 200 OK x-mobi-fs-ver: X-Frame-Options: Cache-Control: Last-Modified: ETag: Content-Type: Content-Length: Accept-Ranges: etc. and at last a very long binary content. Posted

Re: nginx error : cache file has too long header

2016-12-07 Thread Roman Arutyunyan
On Wed, Dec 07, 2016 at 05:24:23AM -0500, omkar_jadhav_20 wrote: > Please note that we already have proxy_buffer_size 4096k, please suggest > what should be ideal size for proxy_buffer_size in this scenario. Yes, I saw that. But it looks like you have too long proxy_cache_key. Or maybe, those fil

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
Please note that we already have proxy_buffer_size 4096k, please suggest what should be ideal size for proxy_buffer_size in this scenario. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271382,271389#msg-271389 ___ nginx mailing list nginx@n