Re: Feature Request for access_log stdout;

2016-02-20 Thread Aleksandar Lazic
Hi. Am 19-02-2016 09:42, schrieb Konstantin Pavlov: On 19/02/2016 02:56, Aleksandar Lazic wrote: [snipp env errors] Any plans to add this possibility or have I missed something? Please check the following: https://hub.docker.com/_/nginx/, section "using environment variables in nginx con

Re: Block direct access to .inc files not working

2016-02-20 Thread rsclmumbai
@dewanggaba Perfect. That worked like a charm. Thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264663,264680#msg-264680 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: SSL handshake errors when configured as a reverse proxy

2016-02-20 Thread Andrew Hutchings
Hi Josh, There are bugs in OpenSSL 1.0.1e that could trigger this which is why I asked. The two other things I would suggest trying are: 1. Look again at your cipher list, missing important ones out can trigger this error, especially with ssl_prefer_server_ciphers set. Judging by the quick s

Re: Key pinning / Nginx reverse proxy

2016-02-20 Thread A. Schulze
Thierry: Nginx: front end - reverse proxy Apache2: Back end - web server hpkp is an header served to the client as response to an https request I would add the Public-Key-Pins on the instance terminating the HTTPS request. without rproxy I have this in /etc/nginx/sites-enabled/example.org s

Re: Need help with Nginx Logging

2016-02-20 Thread Francis Daly
On Sat, Feb 20, 2016 at 02:11:38PM +0500, Muhammad Rehan wrote: Hi there, > Thanks for the reply, I have setup the directives such that rate is 30r/s > and burst is 10. So, my question is; why are these requests being limited > when averaging at 10.2 while I have set the rate to 30r/s in req_limi

Re: Block direct access to .inc files not working

2016-02-20 Thread Dewangga Alam
Hello! On 2/20/2016 4:07 PM, rsclmumbai wrote: I've a nginx server on CentOS with PHP setup. I'm trying to block direct access to .inc files I've added the following to nginx.conf location ~ /\.inc { deny all;

Re: Need help with Nginx Logging

2016-02-20 Thread Muhammad Rehan
Thanks for the reply, I have setup the directives such that rate is 30r/s and burst is 10. So, my question is; why are these requests being limited when averaging at 10.2 while I have set the rate to 30r/s in req_limit_zone? On Feb 20, 2016 11:37 AM, "aT" wrote: > excess: 10.200 in above log mean

Block direct access to .inc files not working

2016-02-20 Thread rsclmumbai
I've a nginx server on CentOS with PHP setup. I'm trying to block direct access to .inc files I've added the following to nginx.conf location ~ /\.inc { deny all; } & restarted nginx. But I

Re: dynamic server name and aliases

2016-02-20 Thread Francis Daly
On Fri, Feb 19, 2016 at 02:22:35AM -0500, spyfox wrote: Hi there, > server { > listen *:80; > server_name ~^i(?\d+)\.domain$; > ... Presumably later in this config, you do something with $instanceId, and you have a way to handle it not being set. > It works fine. I have sing