Re: Max File Size Allowed In Cache

2014-09-30 Thread martinproinity
Thanks Maxim. Is it possible the filter on a value "larger than" or "smaller than"? How would the regex in the map block look like? e.g. smaller than 100? I tried something like this, which is not working: map $upstream_http_content_length $docache { default 0; "~*([1-9

[nginx] list proxy_cache keys

2014-09-30 Thread Robert Paprocki
Hello! Is a quick way to easily list all the keys stored in a proxy_cache memory zone? I would like to be able to list all cache elements without implementing a custom tracking solution. I looked through the source of both the proxy_cache facet, and FRiCKLE's purge module, but my C isn't strong en

Re: [nginx-announce] nginx-1.7.6

2014-09-30 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.7.6 for Windows http://goo.gl/WWIELz (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: Weird behavior when checking the existence of a cookie

2014-09-30 Thread Francis Daly
On Fri, Sep 26, 2014 at 02:02:12PM -0300, Marcello Rocha wrote: Hi there, > I have this location block: > > location /some_path/ { > # this sets the mobile_rewrite variable based on a regex against > the user_agent > include /etc/nginx/mobile; > > # This is where the tro

Re: Weird behavior when checking the existence of a cookie

2014-09-30 Thread Marcello Rocha
Hmmm... that's not really an option. The upstream does not know that it's under a subdir of the domain (and the devs insist that it shouldn't be coupled to that). Also, if the cookie detection lines are commented out, the proxy_pass (w/ the ending forward slash) works as expected. This specific b

Re: Support team says Nginx + Passenger harder to support than Apache

2014-09-30 Thread drfence
We use chef. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253635,253642#msg-253642 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewriting location directive by upstream servers

2014-09-30 Thread Francis Daly
On Fri, Sep 26, 2014 at 10:12:47AM +0530, thunder hill wrote: > On Fri, Sep 26, 2014 at 2:35 AM, Francis Daly wrote: > > On Fri, Sep 26, 2014 at 01:20:18AM +0530, thunder hill wrote: Hi there, > > > When I access mysite.com/app1 the upstream server rewrites the url like > > > mysite.com/login in

Re: Support team says Nginx + Passenger harder to support than Apache

2014-09-30 Thread Scott Larson
Frankly it sounds more like laziness or being averse to change. All I can relay is experience with our setup here which is purely FreeBSD with an internal Poudriere based package build server, and system/config management with Salt. Taken as a whole it's a painless and relatively trivial proce

Re: Support team says Nginx + Passenger harder to support than Apache

2014-09-30 Thread Dewangga
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you using system and/or config management to manage your third party software? IMHO, nginx and apache is same, the different is only on configuration and performance. Pkgs, pacthes, updates, etc depend on each linux distribution. IMHO. On 9/30/20

fail2ban + nginx+PHP

2014-09-30 Thread Szépe Viktor
Good morning! 1 Is it possible to have nginx create another log entry on new lines/several error_log() PHP function? Now mmultiple error_log()-s are logged as one nginx error.log line. Apache logs them separatly even in FastCGI mode. 2 Does any of you use fail2ban with nginx+PHP? I mean tr

Support team says Nginx + Passenger harder to support than Apache

2014-09-30 Thread drfence
I work for a big news organization in the South East.. The support team is arguing that it's more difficult to support Nginx + Passenger because any patches, etc are made by updating source ( compiling modules statically ) and re-installing. This is as opposed to Apache that can be updated using

nginx-1.7.6

2014-09-30 Thread Maxim Dounin
Changes with nginx 1.7.6 30 Sep 2014 *) Change: the deprecated "limit_zone" directive is not supported anymore. *) Feature: the "limit_conn_zone" and "limit_req_zone" directives now can be used with combinations of multiple variables.

Trying to assemble logs through tcp, problems with multiple worker_processes

2014-09-30 Thread Ron van der Vegt
Hi, Im trying to collect access log by passing them with tcp to flume. But the two tools below I tried both give me the same sintums, that it seems there is a race condition, when running nginx with multiple worker_processes: http://www.binpress.com/issue/possible-race-condition-while-nginx-i

Re: Max File Size Allowed In Cache

2014-09-30 Thread Maxim Dounin
Hello! On Tue, Sep 30, 2014 at 01:35:30AM -0400, martinproinity wrote: > would be interesting to know the answer to this questions as I was wondering > as well if that is possible. As of now there is no easy way to limit caching based on a response size. In simple cases, when the Content-Lengt

Re: Pull from HLS to trigger non-static RTMP pull

2014-09-30 Thread simonb
OK. Answering my own post here. I set up an standard http proxy to the origin server and it seems to be relaying HLS as expected. So the rtmp application is now... application live { live on; pull rtmp://89057213.r.cdn77.net/89057213;

Pull from HLS to trigger non-static RTMP pull

2014-09-30 Thread simonb
I have set up an RTMP relay of all streams on a remote location. This works fine as long as there is an RTMP request to trigger the pull from the remote server. However HLS requests only work for as long as the RTMP request is present. Is there any way to get HLS (or DASH) requests to trigger the