Re: TCP-Loadbalancer and allow/deny

2015-06-14 Thread itpp2012
It's recently been ported over, http://hg.nginx.org/nginx/rev/8807a2369b1a Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259613,259615#msg-259615 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

TCP-Loadbalancer and allow/deny

2015-06-14 Thread mex
Hello, happily testing the stream{} - feature and loadbalancing-mechanism with nginx 1.9 and it works very smoth; looks like we ca use nginx as http-lb as well as tcp-lb in production very soon; thank you, nginx-team! is there something like allow/deny planned for the stream {} - method? http://

答复: 答复: 答复: nginx plus with ssl on TCP load balance not work

2015-06-14 Thread smith
Thanks, is this means TCP proxy not suitable for web usage, for web usage may have many redirect usage? I’m going to use http/https proxy instead 发件人: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] 代表 ryd994 发送时间: 2015年6月15日 4:21 收件人: nginx@nginx.org 主题: Re: 答复: 答复: nginx plus wi

Re: 答复: 答复: nginx plus with ssl on TCP load balance not work

2015-06-14 Thread ryd994
As long as you get something from your backend, I don't see anything could be wrong on the proxy. Backend get the connection, that's all. I guess it was because your backend get frustrated for all incoming requests being from frontend. HTTP proxy can pass client IP info by "X-Forwarded-For". That

Re: Redirect on specific threshold !!

2015-06-14 Thread ryd994
Does a nginx reverse proxy with cache fit you need? Client -> Caching server (with SSD and nginx proxy cache configured) -> Storage server(s) (Slow) You can add even more storage server by utilizing nginx upstream module. On Sun, Jun 14, 2015 at 1:12 PM shahzaib shahzaib wrote: > Hi, > >We

Re: Dynamic configuration

2015-06-14 Thread ryd994
IMHO, it's too much to explain in a few lines. Did you read http://nginx.org/en/docs/beginners_guide.html ? Then you might want to read about rewrite module, fcgi and php, and configure your application to output correct link or use subs module. If you know how to use hosts file, use it with nginx

Re: Nginx LUA

2015-06-14 Thread ryd994
I would suggest using some log parser. You can find some by searching. Those "for Apache" ones would also work. If you know some python or shell script, writing one yourself won't take more than a few minutes. Analyzing access log on the fly just doesn't make much sense. On Sun, Jun 7, 2015 at 10:

Re: Redirect on specific threshold !!

2015-06-14 Thread steve
Hi, On 15/06/15 05:12, shahzaib shahzaib wrote: Hi, We're using Nginx to serve videos on one of our Storage server(contains mp4 videos) and due to high amount of requests we're planning to have a separate caching Node based on Fast SSD drives to serve "Hot" content in order to reduce load

Redirect on specific threshold !!

2015-06-14 Thread shahzaib shahzaib
Hi, We're using Nginx to serve videos on one of our Storage server(contains mp4 videos) and due to high amount of requests we're planning to have a separate caching Node based on Fast SSD drives to serve "Hot" content in order to reduce load from Storage. We're planning to have following method

sendfile_max_chunk breaking unbufferred php-fcgi

2015-06-14 Thread Floris
Hi, I was having the problem that if a single client on the local LAN is downloading a large static file, the download is effectively monopolizing nginx, and no other requests are handled simultaneously. Reading the manual I came across the sendfile_max_chunk option that sounded like that may fix

Dynamic configuration

2015-06-14 Thread Replace
HI there, these days i reinstall my windows and ... i found hot water, with vagrant. I very like it those stuff, i installed ubuntu, with nginx, php5-fpm and many other stuff, but still missing basic configuration. In my project directory, i have many projects - symfony2, wordpress, my own framewo

Re: nginx plus with ssl on TCP load balance not work

2015-06-14 Thread Roman Arutyunyan
If you proxy http with a tcp proxy to an http backend, and receive the 302 code, then IMHO you should look for problems in your http backend. On 14 Jun 2015, at 03:53, huakaibird wrote: > Any help on this? not working > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,259522,259599