How do I install module Rate Limit

2016-03-23 Thread roslui12
Hello friends, could you help me? as I install module for nginx Rate Limit? Thank you Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265617,265617#msg-265617 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ng

Re: simple auth question for nested sections

2016-03-23 Thread Jonathan Vanasco
On Mar 23, 2016, at 2:14 PM, Francis Daly wrote: > Any directives that inherit do not need to be repeated. > > If it does not work for you, that's probably due to proxy_pass not > inheriting. Thanks - that's it -- `proxy_pass` does not inherit, but all the `proxy_set_header` directives in that

Re: simple auth question for nested sections

2016-03-23 Thread Francis Daly
On Tue, Mar 22, 2016 at 08:00:13PM -0400, Jonathan Vanasco wrote: Hi there, > Is there a syntax for nesting the two together, so the /foo/admin would > inherit the /foo configuration without the need to redeclare everything? > > # something like > location /foo { > pro

RE: CIS NGINX Security Benchmark help

2016-03-23 Thread Jordan C. Rakoske
Phil, We prefer that our contributors and editors are volunteers. Our guides have always been publicly available and we have recently started converting their licensing to Creative Commons, which allows for derivative works under certain circumstances. Also, each published guide explicitly ack

Re: CIS NGINX Security Benchmark help

2016-03-23 Thread Phil Lello
Are you paying people for their time? On 23 Mar 2016 12:55, "Jordan C. Rakoske" wrote: > Hello, > The Center for Internet Security is looking for some folks to help in the > creation of a security benchmark for NGINX. We have a wide range of > benchmark guides that are created by the cyber secur

CIS NGINX Security Benchmark help

2016-03-23 Thread Jordan C. Rakoske
Hello, The Center for Internet Security is looking for some folks to help in the creation of a security benchmark for NGINX. We have a wide range of benchmark guides that are created by the cyber security community and we offer them free to the world. All of our benchmarks are created from a c

Re: simple auth question for nested sections

2016-03-23 Thread B.R.
Why would you want to do that? Spaghetti configuration? Some advice from Igor Sysoev: https://youtu.be/YWRYbLKsS0I --- *B. R.* On Wed, Mar 23, 2016 at 1:00 AM, Jonathan Vanasco wrote: > apologies for the simple question, but i could only find the opposite > situation in the list archives and I h

Re: 502 Bad Gateway once running php on command line

2016-03-23 Thread marcusy3k
yes, agree. Thanks Lucas. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265576,265588#msg-265588 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: 502 Bad Gateway once running php on command line

2016-03-23 Thread Lucas Rolff
When issuing php directly from the command-line, you don't even go through nginx. php from the command-line relies on the php-cli which isn't talking to your nginx process nor php-fpm. marcusy3k 23 March 2016 at 10:05 Eventually I find what went wrong, it s

Re: 502 Bad Gateway once running php on command line

2016-03-23 Thread marcusy3k
Eventually I find what went wrong, it should be caused by both Zend OPcache and XCache are installed, they may conflict each other in this case, once I've removed the XCache, it works fine, the php command line would no longer cause the php-fpm error. XCache should be unnecessary when OPcache is r