logical variables

2014-03-13 Thread Steve Holdoway
If I pass a variable, set to true via a fastcgi_param, does it arrive as a logical or string value? If it's a string, is there a way to pass as a logical true/false? Cheers, Steve ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

SMNP monitoring support

2014-03-13 Thread Niranjan Khare
Hello all, I'd like to know if nginx supports / plans to support triggering SNMP alarms in the near future? Thanks, Niru ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

RE: When to new directives from mainline trickle down to stable?

2014-03-13 Thread John Reeve
Sarah (and Aaron), Thank you the clarification. At this point we'll have to revisit our options for session persistance and load balancing. If we have any questions about nginx I'll reach out to you. thanks! John -Original Message- From: nginx-boun...@nginx.org [mailto:nginx-boun...@n

Re: Guide on switching from distro-provided nginx to nginx built from source?

2014-03-13 Thread George
Maybe this will help http://www.howtoforge.com/using-ngx_pagespeed-with-nginx-on-debian-wheezy and http://www.howtoforge.com/using-ngx_pagespeed-with-nginx-on-debian-jessie-testing - right up your alley for Debian distro :) I personally use CentOS build via Centmin Mod Nginx as it already includes

re: When to new directives from mainline trickle down to stable?

2014-03-13 Thread Sarah Novotny
Hi John, > On Thu, Mar 13, 2014 at 3:34 PM, John Reeve wrote: > Hi! > > We are currently using the stable release of nginx. We'd really like to > implement the sticky directive that was added to the HTTP Upstream Module in > the mainline release in 1.5.7 > (http://nginx.org/en/docs/http/ng

Re: Guide on switching from distro-provided nginx to nginx built from source?

2014-03-13 Thread B.R.
For testing the new binary and being able to revert quickly to the other one, use the advice on this documentation page: http://nginx.org/en/docs/control.html That way, you will have virtually no downtime and only stop the old nginx process when you decide the new one is doing its job. --- *B. R.*

Re: Ignored Cache-Control request header

2014-03-13 Thread bcx
Thank you for your suggestion. I understand about the DoS issue. proxy_cache_bypass indeed is the solution. Documentation was not clear about it, but the result is written to cache. The cache is only bypassed in the lookup fase, not in the write back fase. I worked out this bit of configuration. T

When to new directives from mainline trickle down to stable?

2014-03-13 Thread John Reeve
Hi! We are currently using the stable release of nginx. We'd really like to implement the sticky directive that was added to the HTTP Upstream Module in the mainline release in 1.5.7 (http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky) My question is this... how long does it ta

Re: Guide on switching from distro-provided nginx to nginx built from source?

2014-03-13 Thread Steve Holdoway
On Thu, 2014-03-13 at 15:34 -0400, Jeff Kaufman wrote: > I haven't been able to find a good guide for people who have been > using nginx as installed by their linux distribution who want to > switch to using an nginx they built themselves. This comes up a lot > with ngx_pagespeed because for many

Re: nginx in ubuntu (trusty) 14.04

2014-03-13 Thread Richard Ibbotson
On Thursday 13 Mar 2014 10:05:22 Jeroen Ooms wrote: > 2014/03/13 16:11:01 [emerg] 14625#0: bind() to 0.0.0.0:80 failed > (98: Address already in use) > 2014/03/13 16:11:01 [emerg] 14625#0: bind() to [::]:80 failed (98: > Address already in use) > 2014/03/13 16:11:01 [emerg] 14625#0: bind() to 0.0.

Guide on switching from distro-provided nginx to nginx built from source?

2014-03-13 Thread Jeff Kaufman
I haven't been able to find a good guide for people who have been using nginx as installed by their linux distribution who want to switch to using an nginx they built themselves. This comes up a lot with ngx_pagespeed because for many users we're the first module they want which isn't packaged wit

Re: secp521r1 removed from 1.4.6

2014-03-13 Thread nginxu14
Sorry for wasting your time you are correct secp512r1 isnt there when I run the command. Im guessing that secp256r1 isnt in the list because its just the default one. Just using the default settings and not setting a curve uses secp256r1 and secp384r1 works by setting it in ssl_ecdh_curve. I like

Re: Include Performance

2014-03-13 Thread abstein2
Awesome -- thanks so much for the quick reply! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248331,248333#msg-248333 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Include Performance

2014-03-13 Thread Igor Sysoev
On 13 Mar 2014, at 21:59, abstein2 wrote: > Is there any negative performance impact with chaining include commands on > nginx? > > For example, are any of these worse than any of the others from a > performance perspective: > > In nginx.conf: > include domain_config_1.conf; > include domain_co

Include Performance

2014-03-13 Thread abstein2
Is there any negative performance impact with chaining include commands on nginx? For example, are any of these worse than any of the others from a performance perspective: In nginx.conf: include domain_config_1.conf; include domain_config_2.conf; OR In nginx.conf: include domain_configs.conf;

nginx in ubuntu (trusty) 14.04

2014-03-13 Thread Jeroen Ooms
After upgrading my stack Apache2-Nginx Ubuntu stack to Ubuntu 14.04 beta, I am getting these errors in /var/log/nginx/error.log 2014/03/13 16:11:01 [emerg] 14625#0: bind() to 0.0.0.0:80 failed (98: Address already in use) 2014/03/13 16:11:01 [emerg] 14625#0: bind() to [::]:80 failed (98: Address a

Re: Ignored Cache-Control request header

2014-03-13 Thread Maxim Dounin
Hello! On Thu, Mar 13, 2014 at 12:20:41PM -0400, bcx wrote: > I noticed that the nginx http proxy module by default does nothing with the > Cache-Control request header that is sent by browsers. > > Most browsers (I tested Crome and Firefox, but from my online research it > showed that even Inte

Re: secp521r1 removed from 1.4.6

2014-03-13 Thread Maxim Dounin
Hello! On Thu, Mar 13, 2014 at 11:43:37AM -0400, nginxu14 wrote: > Hi, It seems that secp521r1 has been removed from 1.4.6. Trying to use it in > ssl_ecdh_curve doesnt work but worked in 1.4.5. > > Was this just a mistake or is there a reason why it has been removed? It wasn't - nginx just uses

Re: nginx module dev: loadbalancer vs upstream handler options

2014-03-13 Thread Maxim Dounin
Hello! On Wed, Mar 12, 2014 at 12:31:42PM -0700, Jayadev C wrote: > > > First time here, was looking at supporting http protocol (using > nginx) over our custom zeromq server talking protocol buf. Read > the excelled tutorial by Evan and was also looking at few > similar plugins to get an id

Ignored Cache-Control request header

2014-03-13 Thread bcx
I noticed that the nginx http proxy module by default does nothing with the Cache-Control request header that is sent by browsers. Most browsers (I tested Crome and Firefox, but from my online research it showed that even Internet Explorer has the same behaviour) send a Cache-Control: no-cache hea

secp521r1 removed from 1.4.6

2014-03-13 Thread nginxu14
Hi, It seems that secp521r1 has been removed from 1.4.6. Trying to use it in ssl_ecdh_curve doesnt work but worked in 1.4.5. Was this just a mistake or is there a reason why it has been removed? Thanks. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248325,248325#msg-248325 _

Re: Worker dies with a segfault error

2014-03-13 Thread greekduke
Hello, As agentzh mentioned eval was causing the problem. I replaced eval with lua and after changing the configuration accordingly I haven't seen any segfaults again. Thanks everybody for the help Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247886,248324#msg-248324 __

New to nginx: ssl/sticky/conditional proxying

2014-03-13 Thread Emarginated
Good morning all, it was long time i was around with some solution to help me supporting something right now is really complex, but i need to do. Nginx looks like me last solution, so i've started with preliminary test, now , and i'm asking you a little help to validate first if it is possible and