Parallel subrequests

2013-12-18 Thread honwel
Hi I want write a http hadler(using subrequest) to deal with combine response from mutiple backend. but "Emiller's Advanced Topics In Nginx Module Development - 2.3. Sequential subrequests" issue that " Subrequests might need to access the network, and if so, Nginx needs to return to its other

How to delete cache based on expires headers?

2013-12-18 Thread Indo Php
Hi I'm using proxy_cache to mirror my files with the configuration below proxy_cache_path  /var/cache/nginx/image levels=1:2 keys_zone=one:10m inactive=7d     max_size=100g; Our backend server has the expires header set to 600secs Is that posibble for us to also delete the cache files located

Re: Optimizing NGINX TLS Time To First Byte (TTTFB)

2013-12-18 Thread Alex
On 2013-12-19 01:04, Ilya Grigorik wrote: > ...and we're looking at ~1360 bytes.. Which is close to what you're seeing in > your testing. Yes, and I haven't employed IPv6 yet; hence I could save 20 bytes. > and minimizes impact of packet reordering and packet loss. I remember reading (I beli

Re: Optimizing NGINX TLS Time To First Byte (TTTFB)

2013-12-18 Thread Ilya Grigorik
On Tue, Dec 17, 2013 at 7:59 PM, Alex wrote: > > I did some empirical testing and with my configuration (given cipher > size, padding, and all), I came to 1370 bytes as being the optimal size > for avoid fragmenting of TLS record fragmentation. > Ah, right, we're not setting the "total" record si

nginx misbehaviour in conjunction with non-ASCII characters

2013-12-18 Thread ako673de
Found a bug in implementation of MOVE and COPY (webdav) methods. It happens if destination header contains non-ASCII characters (that need to be escaped with "%"). An example: Rename (=MOVE) file "/TheCore.ogm" to "/The_Core.ogm": Request header: --> MOVE http://andinas/TheCore.ogm HTTP/1.1 -->

Re: Force linking to static archives during make?

2013-12-18 Thread Francis Daly
On Wed, Dec 18, 2013 at 12:03:31PM -0500, Jeffrey Walton wrote: > > On Tue, Dec 17, 2013 at 04:16:55PM -0500, Jeffrey Walton wrote: Hi there, > >> How does one force nginx to use static linking for a library? > In my case, if I distribute on Ubuntu 12.04 LTS, folks will likely get > Ubuntu's ver

[ANN] Windows nginx 1.5.8.3 Caterpillar

2013-12-18 Thread itpp2012
19:46 18-12-2013: nginx 1.5.8.3 Caterpillar Based on nginx 1.5.8 (release) with; + prove.zip (onsite), a Windows Test_Suite way to show/prove it all really works with at the moment a limited amount of tests which will grow over time + Streaming with nginx-rtmp-module, v1.0.8 (upgraded 16-12) + pcr

Re: [nginx-announce] nginx-1.5.8

2013-12-18 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.5.8 for Windows http://goo.gl/zq3gGm (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also availab

Re: Force linking to static archives during make?

2013-12-18 Thread Jeffrey Walton
Thanks On Wed, Dec 18, 2013 at 4:29 AM, Ruslan Ermilov wrote: > On Tue, Dec 17, 2013 at 04:16:55PM -0500, Jeffrey Walton wrote: >> This should be my last build question. >> >> $ ./auto/configure --with-http_ssl_module ... >> --with-cc-opt="-I/usr/local/ssl/include" >> --with-ld-opt="-L/usr/local/

Re: Optimizing NGINX TLS Time To First Byte (TTTFB)

2013-12-18 Thread Maxim Dounin
Hello! On Tue, Dec 17, 2013 at 04:03:27PM -0800, Ilya Grigorik wrote: [...] > Although now on closer inspection there seems to be another gotcha in there > that I overlooked: it's emitting two packets, one is 1389 bytes, and second > is ~31 extra bytes, which means the actual record is 1429 byte

Re: Proxy buffering

2013-12-18 Thread Maxim Dounin
Hello! On Wed, Dec 18, 2013 at 12:45:37PM +0200, Pasi Kärkkäinen wrote: > On Wed, Dec 18, 2013 at 01:34:37AM -0500, Downchuck wrote: > > Is there a large technical barrier to implementing this feature? Patches > > have been available for some time at: http://yaoweibin.cn/patches/ > > > > Hi, >

Re: Override index.php for a subdirectory

2013-12-18 Thread Lorenzo Milesi
> You will probably want your new location, which will probably use "^~", > to be in the same server{} block as the rest of your configuration. Thanks for your suggestion. For benefit of others I solved this way: server { [...] location /work/management_site/ { location ~ \.(js

Re: Proxy buffering

2013-12-18 Thread Pasi Kärkkäinen
On Wed, Dec 18, 2013 at 01:34:37AM -0500, Downchuck wrote: > Is there a large technical barrier to implementing this feature? Patches > have been available for some time at: http://yaoweibin.cn/patches/ > Hi, Based on my testing the no_buffer v8 patch works OK with nginx 1.4.x! http://yaoweibin.

Re: Force linking to static archives during make?

2013-12-18 Thread Ruslan Ermilov
On Tue, Dec 17, 2013 at 04:16:55PM -0500, Jeffrey Walton wrote: > This should be my last build question. > > $ ./auto/configure --with-http_ssl_module ... > --with-cc-opt="-I/usr/local/ssl/include" > --with-ld-opt="-L/usr/local/ssl/lib /usr/local/ssl/lib/libssl.a > /usr/local/ssl/lib/libcrypto.a -