gzip_static module does not obey mime types

2018-08-24 Thread Matt Gadient
I've noticed for a while that when gzip_static is enabled it checks *every* file it serves for a .gz extension, not just the ones listed in the gzip_types. For example in a page with 1 html and 30 images you'll have 61 requests to the file system: 1 for the correct .html.gz file, 30 for the non-

Fwd: How can i have multiple nginx plus servers route to the same app servers with sticky sessions on?

2015-06-18 Thread Matt
servers to route to. I attached a drawing that explains the architecture visually. Matt ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

nginx conf 502 on reverse proxy location

2015-05-09 Thread Matt Rutherford
my http conf is at http://p.ngx.cc/2018 currently getting me a 502 when I hit my_server.com/oauth/ Any idea what I'm doing wrong? thanks ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Repeated include /etc/includes/ssl.conf Passes configtest, fails SSL Handshake

2014-07-29 Thread Matt Silverlock
Hi all, Had a chat with a helpful person on IRC but both are stumped as to why my configuration passes a check (nginx -t) but fails to properly handle SSL. – I’ve split a couple of repetitive blocks out into /etc/nginx/includes/ssl.conf (-rw-r--r-- root:root - same as nginx.conf - should not b

Re: Multiple reverse proxies that read from /static/ ?

2014-05-09 Thread Matt Gray
appropriate > alias, but I don't know how to get both working at the same time. > > Thanks in advance. > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,249943,249943#msg-249943 > > ___ > nginx mailing list > ngin

Re: $arg_name as an array

2014-05-09 Thread Matt Gray
Note that this is not "treating $arg_name as an array", it's simply allowing you to use the [] characters in a variable name - usually only a-z0-9_ is allowed On 9 May 2014 11:02, Matt Gray wrote: > On 9 May 2014 10:16, beatnut wrote: > >> >> Does it poss

Re: $arg_name as an array

2014-05-09 Thread Matt Gray
On 9 May 2014 10:16, beatnut wrote: > > Does it possible to use $arg_name as an array? > For example > I've query string : ?opt[test]=1 > > I'd like to get value od opt[test] but $arg_opt[test] doesn't work. > > Is there special syntax for that case? > This thread might be of interest: http://fo

Re: Logging header values from the first upstream

2013-10-10 Thread Matt Spitz
Perfect. Thank you very much! -- Posted via http://www.ruby-forum.com/. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Logging header values from the first upstream

2013-10-10 Thread Matt Spitz
The HttpUpstreamModule states that variable values for $upstream_http_$HEADER are only valid for the last upstream accessed during a request. I'd like to know if there's a workaround. Specifically, I'm setting (and then clearing) headers in my first upstream to get request-specific information li

hey

2013-05-14 Thread Matt Starcrest
http://texturepanel.com/news_xml.php?xskqducca792zezkvdg matt.starcrest Matt Starcrest === Hold on - wait, maybe the answer's looking fo