Re: Nginx 1.13.9 HTTP/2 Server Push - non-compressed assets ?

2018-02-15 Thread George
thanks Ruslan just tested your committed fixes for this in master branch and working nicely https://community.centminmod.com/threads/hurray-http-2-server-push-for-nginx.11910/page-2#post-59602 :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278481,278608#msg-278608 _

Re: ip address masking

2018-02-15 Thread Robert Paprocki
Hi, On Tue, Feb 13, 2018 at 5:46 PM, Tom wrote: > Hi, > > I'm wondering if anyone has successfully masked ip addresses in nginx > before they are written to a log file. > > I understand there are reasons why you would and would not do this. > > Anyway, my config so far, which I believe works for

Re: Files still on disc after inactive time

2018-02-15 Thread Maxim Dounin
Hello! On Thu, Feb 15, 2018 at 08:48:11AM -0500, Andrzej Walas wrote: > Thanks for answer. In logs I see couple logs like this: > [alert] 11373#0: ignore long locked inactive cache entry > dba676c7ebb90e210efc04d51aaa4858, count:11 This message indicate that the cache entry in question was was l

Re: Files still on disc after inactive time

2018-02-15 Thread Andrzej Walas
Thanks for answer. In logs I see couple logs like this: [alert] 11373#0: ignore long locked inactive cache entry dba676c7ebb90e210efc04d51aaa4858, count:11 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278589,278600#msg-278600 ___ nginx mai

Re: Files still on disc after inactive time

2018-02-15 Thread Maxim Dounin
Hello! On Thu, Feb 15, 2018 at 04:33:19AM -0500, Andrzej Walas wrote: > Hi, > > I use nginx 1.12.2. I have settings like this: > proxy_cache_path /ephemeral/nginx/cache levels=1:2 > keys_zone=proxy-cache:4000m max_size=40g inactive=1d; > proxy_temp_path /ephemeral/ngin

Re: Response Header IF statement problem

2018-02-15 Thread Friscia, Michael
To add one more thing. I mentioned that my testing failed. Exactly what was failing is that the map{} block that worked and then stopped working was the problem, the $nocache variable would always return the default value no matter what I did. So in a previous post the suggested code was proxy_

Re: Response Header IF statement problem

2018-02-15 Thread Friscia, Michael
Yes, I should have explained the problem up front. I made the wrong assumption I was asking a simple question and quickly realized I was getting good answers but my approach was likely flawed from the start. We are using Nginx just as a cache mechanism across many custom DNS names. As a result

Re: How to distinguish between nginx and nginx plus ?

2018-02-15 Thread Maxim Konovalov
Hi Akhil, On 15/02/2018 15:32, Akhil Dangore wrote: > Hello Maxim, > > I am looking for some alternate way. > > Does it stored any directory or file ? > I am not sure now if I understand your intentions fully now. Would you mind to elaborate? By the way, if you are -plus customer it makes sens

Re: How to distinguish between nginx and nginx plus ?

2018-02-15 Thread Akhil Dangore
Hello Maxim, I am looking for some alternate way. Does it stored any directory or file ? Regards, Akhil Dangore On 2/15/2018 5:23 PM, Maxim Konovalov wrote: On 15/02/2018 14:50, Akhil Dangore wrote: Hello Team, Is there any to distinguish between nginx and nginx plus except "version check"(

Re: How to distinguish between nginx and nginx plus ?

2018-02-15 Thread Maxim Konovalov
On 15/02/2018 14:50, Akhil Dangore wrote: > Hello Team, > > Is there any to distinguish between nginx and nginx plus except > "version check"(nginx -v)  ? > Yes, there is. This is -plus: $ nginx -v nginx version: nginx/1.13.7 (nginx-*plus*-r14-p1) -- Maxim Konovalov ___

How to distinguish between nginx and nginx plus ?

2018-02-15 Thread Akhil Dangore
Hello Team, Is there any to distinguish between nginx and nginx plus except "version check"(nginx -v)  ? Below is output of ps aux command: *ubuntu@ubuntu-VirtualBox:~/Documents$ ps aux | grep nginx** **root  1436  0.0  0.0  43068    80 ?    Ss Feb12   0:00 nginx: master process /usr

Files still on disc after inactive time

2018-02-15 Thread Andrzej Walas
Hi, I use nginx 1.12.2. I have settings like this: proxy_cache_path /ephemeral/nginx/cache levels=1:2 keys_zone=proxy-cache:4000m max_size=40g inactive=1d; proxy_temp_path /ephemeral/nginx/tmp; And I have two problems with this: 1. If during the download to the cache th

Nginx QPS rate limit

2018-02-15 Thread Elifish4
Hi All, We are using nginx cluster to get lots of request. All the nginx under ELB, We want to limit the QPS requests by device name/id/mac/whatever I found that i can do it with Limit upstream module for nginx, but i wondering if there is better way to achieved the goal. Posted at Nginx Forum: