multiple named captures in map regex

2016-03-28 Thread Cole Tierney
Hello, Is it possible to have more than one named capture in a map regex? When I try the following in a map: ~^/(?.)(?.) $a$b; ...I get [emerg] 28486#0: unknown "a$b” variable. I’ve tried "$a$b” and "${a}${b}” with no change. I’m running nginx/1.9.6. Cole

limit_req_status & limit_conn_status code

2016-03-28 Thread B.R.
Following RFC 6585 , there is a HTTP status code for 'too many requests', which applies well to the nginx module limiting requests, and by extension to the module limiting connections. Having in mind changing default values is somewhat tricky regarding backward

Re: deny in http {}, get 500 response , how to log this?

2016-03-28 Thread meteor8488
Maxim Dounin Wrote: --- > Hello! > > On Mon, Mar 28, 2016 at 03:54:40AM -0400, meteor8488 wrote: > > > Hi All, > > > > I'm using deny to deny some IPs for my server. > > > > http { > > deny 192.168.1.123; # this is an example > > > > >

Re: nginx HttpSecureLinkModule php streaming

2016-03-28 Thread Francis Daly
On Fri, Mar 25, 2016 at 10:01:28PM -0400, JoakimR wrote: Hi there, > The question is how do I get Nginx and php to make a timed encrypted link to > play a video? I'm not sure what specifically your question is. If it is "how do I use the nginx secure-link module?", then the content at http://ng

Re: Homepage cache and cookies

2016-03-28 Thread john_smith77
Specifically I was writing that clients could get their cookies, but not served form the nginx cache. This has always been about whether or not the cached page was serving the cookies or not. With the exact same configuration for the cache, there is a difference between: location / and locatio

Re: deny in http {}, get 500 response , how to log this?

2016-03-28 Thread Maxim Dounin
Hello! On Mon, Mar 28, 2016 at 03:54:40AM -0400, meteor8488 wrote: > Hi All, > > I'm using deny to deny some IPs for my server. > > http { > deny 192.168.1.123; # this is an example > > > server { > > error_page 403 /error/403.htm; > error_page 404 /

Re: proxy_ssl_certificate not working as expected

2016-03-28 Thread elanh
Here is my full "nginx -V" output: nginx version: nginx/1.9.10 built by gcc 4.9.2 (Debian 4.9.2-10) built with OpenSSL 1.0.1k 8 Jan 2015 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/err

Re: proxy_ssl_certificate not working as expected

2016-03-28 Thread elanh
Hello Maxim, The configuration is loaded correctly and is handling requests. "nginx -t" shows that all is OK and a 200 OK response is returned correctly. My front-end server is running version 1.9.10 (I ran "nginx -v"). So proxy_ssl_certificate is valid in my case. The backend server is running v

Re: nginx HttpSecureLinkModule php streaming

2016-03-28 Thread JoakimR
Have strogled with this for 4 days now... could someone please help me? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265663,265681#msg-265681 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

deny in http {}, get 500 response , how to log this?

2016-03-28 Thread meteor8488
Hi All, I'm using deny to deny some IPs for my server. http { deny 192.168.1.123; # this is an example server { error_page 403 /error/403.htm; error_page 404 /error/404.htm; error_page 502 /error/502.htm; error_pa