Re: unknown directive "thread_pool"

2015-06-24 Thread Anatoli Marinov
RTFM :) http://nginx.org/en/docs/http/ngx_http_core_module.html#aio 2015-06-24 16:39 GMT+03:00 Anatoli Marinov : > > http://serverfault.com/questions/476765/how-do-i-enable-aio-on-nginx-on-freebsd > Just add 'aio on;' instead of 'aio threads;'. > Also you shou

Re: unknown directive "thread_pool"

2015-06-24 Thread Anatoli Marinov
http://serverfault.com/questions/476765/how-do-i-enable-aio-on-nginx-on-freebsd Just add 'aio on;' instead of 'aio threads;'. Also you should compile nginx without threads. 2015-06-24 16:32 GMT+03:00 bagas : > То-есть, на системе FreeBSD смысла нет использовать пул потоков от nginx? > Про пул от

Re: unknown directive "thread_pool"

2015-06-24 Thread Anatoli Marinov
I am not sure you need threads with freebsd because it has native aio support. 2015-06-24 15:11 GMT+03:00 bagas : > Добрый день. > Не понятно мне, куда помещать настройку по пулам. > # uname -orm > FreeBSD 10.1-RELEASE-p12 amd64 > nginx -v > nginx version: nginx/1.8.0 > nginx собран с оцией --wit

Re: filter content by checksum

2014-05-24 Thread Anatoli Marinov
You should write a new module or try using lua ... On Sat, May 24, 2014 at 9:32 PM, Amikam Snir wrote: > How can I configure nginx to manipulate the content of http-response, for > example filtering the content of the response by checksum? > > ___ > n

How to setup nginx to follow 302

2013-10-07 Thread Anatoli Marinov
Hello colleagues, Last week I tried to configure nginx to follow 302 through upstream instead of relay it to the client. My config now is like the next one: http { proxy_cache_path /home/toli/nginx/run/cache keys_zone=zone_c1:256m inactive=5d max_size=30g; upstream up_cdn_cache_l2 {

nginx usptream 302 redirect

2013-10-04 Thread Anatoli Marinov
Hello, Is there an easy way to configure nginx upstream to follow 302 instead of send them to the browser? I tried with this config: http { proxy_intercept_errors on; proxy_cache_path /home/toli/nginx/run/cache keys_zone=zone_c1:256m inactive=5d max_size=30g; upstream up_servers {