ngx_http_geo_module vs allow/deny performance

2018-02-21 Thread beatnut
Hello all, What is the best approach in relation to performance when i want to block a fiew hundrets or a fiew thousands of ip addresses ? I ofted read that ngx_http_geo_module is better for many ip addresses. What it depends on? Posted at Nginx Forum:

Re: HTTP/2 server push

2018-02-09 Thread beatnut
Thank you for an answer. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278415,278435#msg-278435 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

HTTP/2 server push

2018-02-08 Thread beatnut
Hi everyone, According to the roadmap https://trac.nginx.org/nginx/roadmap server push will show up in a few days. My question is : How to mitigate problem when we are pushing resources already being in the cache for example pushed earlier ? Do i have to make some workaround using cookies or nginx

geoip variables evaluation vs map

2017-05-05 Thread beatnut
Hello! When using variables via map directive they are evaluated when they are used. My question is if variables from geoip module like $geoip_country_code are evaluated only when they are used, like map or every time? Posted at Nginx Forum:

Re: listen fastopen

2017-05-04 Thread beatnut
Thank you, now i understand. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274066,274070#msg-274070 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

listen fastopen

2017-05-04 Thread beatnut
Hello, Does anybody know what this warning which i found in the docs http://nginx.org/en/docs/http/ngx_http_core_module.html#listen in the context of fastopen means? "Do not enable this feature unless the server can handle receiving the same SYN packet with data more than once." My kernel is

Re: Too many open files when reloading - Debian Jessie

2016-08-24 Thread beatnut
I've just found a solution described here http://serverfault.com/questions/770037/debian-8-4-jessie-set-open-files-limit-for-redis-user It works Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269150,269151#msg-269151 ___ nginx mailing list

Too many open files when reloading - Debian Jessie

2016-08-24 Thread beatnut
Hello, My nginx was build from source on Debian Jessie --prefix=/etc/nginx --modules-path=/usr/lib/nginx/modules --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/lock/nginx.lock

HTTP/2 cipher suits black list

2015-09-29 Thread beatnut
Hello, I'm using "Intermediate compatibility" ciphersuits from here https://wiki.mozilla.org/Security/Server_Side_TLS. Could somebody answer if this ciphers are compatible with HTTP/2 according to the black list https://tools.ietf.org/html/rfc7540#appendix-A ? Thank you Posted at Nginx Forum:

Re: Http2 not starting up

2015-09-29 Thread beatnut
Try add ssl parameter to the listen directive. https://www.nginx.com/blog/nginx-1-9-5/ Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261910,261916#msg-261916 ___ nginx mailing list nginx@nginx.org

Re: fastcgi cache path keys zone=name:size

2014-05-13 Thread beatnut
I found similar information about : limit_req_zone $binary_remote_addr zone=one:1m One megabyte zone can keep about 16 thousand 64-byte states. or ssl_session_cache shared:SSL:1m; The cache size is specified in bytes; one megabyte can store about 4000 sessions. but there is no info

Re: fastcgi cache path keys zone=name:size

2014-05-13 Thread beatnut
This is what I wanted to know. Thank you very much Maxim. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250046,250047#msg-250047 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

fastcgi cache path keys zone=name:size

2014-05-09 Thread beatnut
Hi all I've simple question but unfortunately i cant' find any information. How many entries can handle 1MB of memory configured by size in keys_zone=name:size ? Thanks in advance for your reply Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249973,249973#msg-249973

$arg_name as an array

2014-05-09 Thread beatnut
Hello, Does it possible to use $arg_name as an array? For example I've query string : ?opt[test]=1 I'd like to get value od opt[test] but $arg_opt[test] doesn't work. Is there special syntax for that case? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249982,249982#msg-249982

Re: $arg_name as an array

2014-05-09 Thread beatnut
Thanks for explanation. I'll try with example above. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249982,249987#msg-249987 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: map module - mass hosting

2014-04-24 Thread beatnut
Thank You for explanation and advise. Maxim Dounin Wrote: --- Hello! On Wed, Apr 23, 2014 at 09:27:33AM -0400, beatnut wrote: [...] Searching within a map is basically identical to searching for appropriate server{} block, both

Re: map module - mass hosting

2014-04-23 Thread beatnut
Thank You for answer. I've additional questions. Maxim Dounin Wrote: --- Hello! On Wed, Apr 23, 2014 at 08:07:42AM -0400, beatnut wrote: I'd like to use map module for my vhost configuration to setup user name in root or fastcgi_pass