Unexptected return code

2016-11-08 Thread li...@lazygranch.com
I only serve static pages, hence I have this in my conf file: --- ## Only allow these request methods ## if ($request_method !~ ^(GET|HEAD)$ ) { return 444; } Shouldn't the return code be 444 instead of 400? --

Re: OCSP stapling

2016-11-08 Thread Alex Samad
Just when through this. your nginx server makes a requets to the OCSP url for information. My nginx servers can't make requests to the internet so I had to use the offline method 2016-11-08 22:36 GMT+11:00 Christian Cioni : > Hi, > > on my server have activated a SSL in SNI configuration withou

Re: Blocking tens of thousands of IP's

2016-11-08 Thread lists
Is that 2.2 million CIDRs, or actual addresses? I use IPFW with tables for about 20k CIDRs. I don't see any significant server load. It seems to me nginx has a big enough task that it makes sense to offload the blocking to something that is more tightly integrated to the OS.  At a bare minimum,

Re: Blocking tens of thousands of IP's

2016-11-08 Thread mayak
On 11/08/2016 07:28 PM, Jonathan Vanasco wrote: On Nov 4, 2016, at 5:43 AM, mex wrote: we do a similar thing but keep a counter within nginx (lua_shared_dict FTW) and export this stuff via /badass - location. although its not realtime we have a delay of 5 sec which is enough for us We are bl

Re: Blocking tens of thousands of IP's

2016-11-08 Thread Jonathan Vanasco
On Nov 4, 2016, at 5:43 AM, mex wrote: > we do a similar thing but keep a counter within nginx (lua_shared_dict FTW) > and export this stuff via /badass - location. > > although its not realtime we have a delay of 5 sec which is enough for us We have a somewhat similar setup under openresty/n

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-08 Thread Maxim Konovalov
On 11/8/16 7:32 PM, Andrei wrote: > I stand corrected, neither Plus nor Community support "Server Push". > Just another marketing buzz related title with the fine print caveat > - "HTTP/2 Fully Supported in NGINX Plus" @ > https://www.nginx.com/blog/http2-r7 > [...] Yes, right, partially because

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-08 Thread Andrei
I stand corrected, neither Plus nor Community support "Server Push". Just another marketing buzz related title with the fine print caveat - "HTTP/2 Fully Supported in NGINX Plus" @ https://www.nginx.com/blog/http2-r7 On Tue, Nov 8, 2016 at 6:17 PM, Maxim Konovalov wrote: > Andrei, > > nginx-plus

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-08 Thread Maxim Konovalov
Andrei, nginx-plus has identical HTTP/2 implementation as nginx-oss. It means no HTTP/2 push in -plus. I repeat my question: where did you get information that there is HTTP/2 push in -plus? On 11/8/16 7:09 PM, Andrei wrote: > The mentioned boost was in regards to HTTP/2 server push as stated. >

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-08 Thread Andrei
The mentioned boost was in regards to HTTP/2 server push as stated. Not plus vs community. Are there any plans on releasing the server push feature for the community version? On Tue, Nov 8, 2016 at 6:00 PM, Maxim Konovalov wrote: > Andrei, > > On 11/8/16 6:53 PM, Andrei wrote: > > This is a comm

Re: How to delay requests from once unauthorized IP address

2016-11-08 Thread Andrei
This can be done using ngx_http_limit_req_module - http://nginx.org/en/docs/http/ngx_http_limit_req_module.html On Tue, Oct 25, 2016 at 4:01 PM, hide wrote: > Hello! > > My Nginx does fastcgi_pass to some CGI application. The CGI application can > return HTTP status code 401. I want Nginx to ret

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-08 Thread Maxim Konovalov
Andrei, On 11/8/16 6:53 PM, Andrei wrote: > This is a common misconception; "HTTP/2 support" is not the same > as "HTTP/2 with server push support". That being said, the > Nginx.org/community version does not support HTTP/2 with "Server > Push" (which most consider the primary boost in HTTP/2),

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-11-08 Thread Andrei
Hello, This is a common misconception; "HTTP/2 support" is not the same as "HTTP/2 with server push support". That being said, the Nginx.org/community version does not support HTTP/2 with "Server Push" (which most consider the primary boost in HTTP/2), however it is available in Nginx Plus (paid s

Re: Rewrite help

2016-11-08 Thread Anoop Alias
try rewrite ^/(.*)\.gifv /vid.php?id=$1 last; On Tue, Nov 8, 2016 at 8:20 PM, khav wrote: > Suppose i have a url as `http://somesite.com/ekjkASDs.gifv` , i want to > rewrite it as `http://somesite.com/vid.php?id=ekjkASDs` > > Posted at Nginx Forum: https://forum.nginx.org/read. > php?2,270815,2

Rewrite help

2016-11-08 Thread khav
Suppose i have a url as `http://somesite.com/ekjkASDs.gifv` , i want to rewrite it as `http://somesite.com/vid.php?id=ekjkASDs` Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270815,270815#msg-270815 ___ nginx mailing list nginx@nginx.org ht

Re: Make nginx treat another extension as mp4

2016-11-08 Thread c0nw0nk
I think you could modify the conf/mime.types video/mp4 mp4 gifv; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270812,270813#msg-270813 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Make nginx treat another extension as mp4

2016-11-08 Thread khav
have converted an animated gif animated.gif to an mp4 animated.mp4.I then rename animated.mp4 to animated.gifv. How can i tell nginx to treat .gifv files as mp4. location ~* \.(mp4|gifv)$ { mp4; mp4_buffer_size 4M; mp4_max_buffer_size 10M; } Posted at Nginx Forum: https://foru

OCSP stapling

2016-11-08 Thread Christian Cioni
Hi, on my server have activated a SSL in SNI configuration without problems, but for the OCSP stapling configurations, receive always “no response sent“ On my configuration have add: ssl_trusted_certificate /etc/nginx/ssl/CA.pem; ssl_stapling on; ssl_stapling_verify on; What can I check

Re: SPDY + HTTP/2

2016-11-08 Thread Ashidubey
you are using Bulk SMS India for marketing i also looking for that codes. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263245,270810#msg-270810 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx