Re: load balancing according to url
there's a sticky-module (3rd-party), maybe this works out of the boxfor you.https://code.google.com/p/nginx-sticky-module/wiki/Documentation
View ArticleFind A Veterinary
If you are adopting or rescuing a pet, it can be vitally important that you plan ahead and locate a...
View ArticleRewrite rules / apache > nginx (downloads php files)
Dear people,I'm stuck with a third party designed website that needs to run for a brief time on nginx (to improve the speed). There is a new site in development but for the time being it has to work....
View ArticleRe: load balancing according to url
You chain two map directives. Like this:map $uri $customer_id {~/customer/(?<cust_id>[^/]+)/.*$ $cust_id;}map $customer_id $sticky_backend {default bad_gateway;<cust-id_1> <server...
View Articlephp-fpm workers eating lots of memory even on zero traffic
Hello, my php-fpm workers are taking large amount of memory even if therehas been zero traffic on server for some time. What is this memory? Is itleaked memory or is it some sort of php cache (I use...
View ArticleRe: nginx openssl compilation problem
Finally I was able to compile nginx and of course I'd like to share this with you. Seems like the order of the configure options was the problem. I used the following configure argument order and it...
View ArticleWhat fastcgi_cache_key to use for mobile page caching
Hello,I have a website that serves web pages based on user agents to differentiate between mobile and desktop users.So, the same URL will look different depending on whether you are viewing it on...
View Articleupstream keepalive + Host override : problem?
Добрый день,Конфиг у меня выглядит вот так:upstream playapp {server …:9000;keepalive 16;}server {listen ... ssl;server_name …;proxy_set_header Host $server_name;location / {limit_conn byConn...
View ArticleRe: upstream keepalive + Host override : problem?
Hello!On Mon, Apr 29, 2013 at 02:53:19PM +0400, Azarov Alexander wrote:> Добрый день,>> Конфиг у меня выглядит вот так:>> upstream playapp {> server …:9000;> keepalive 16;>...
View ArticleRe: load balancing according to url
Hi Antonio,Thanks for the response.I am unable to understand your solution.As I said, I am unable to know which server served the requests torespective customer-id.So I cant write the below map...
View ArticleRe: upstream keepalive + Host override : problem?
On 29.04.2013, at 14:59, Maxim Dounin <mdounin@mdounin.ru> wrote:> Hello!>> On Mon, Apr 29, 2013 at 02:53:19PM +0400, Azarov Alexander wrote:>>> Добрый день,>>>>...
View ArticleRe: load balancing according to url
Hi Mex,Thanks for the response.But I don't think the sticky-module is going to help in my case where theload balancing is to be done based on a particular filed in the URL.ThanksEswarOn Mon, Apr 29,...
View ArticleRe: load balancing according to url
Hi.Emm, maybe you want to make some kind of sharding by the value of yourcookie?upstream <http://wiki.nginx.org/NginxHttpUpstreamModule#upstream> backend {server...
View Articleabout alleged security issue
Hello!Recently a report appeared alleging an integer overflowvulnerability in nginx, claiming remote code execution impact.We've carefully investigated the issue, and cannot confirm thealleged...
View Articleпро якобы уязвимость
Hello!Недавно в сети появилось сообщение о якобы имеющейся в nginx'еуязвимости, и утверждающее возможность удалённого выполненияпроизвольного кода. Мы таки тщательно изучили вопрос, и неподтверждаем...
View ArticleRe: Nginx security issue?
Hello!On Mon, Apr 29, 2013 at 08:15:42AM +0200, Stefanita Rares Dumitrescu wrote:> Hi guys>> This was posted today:>>...
View ArticleRe: про якобы уязвимость
Это про вот это? http://www.securityfocus.com/archive/1/526439/30/0/threadedOn 29 Apr 2013, at 14:32, Maxim Dounin <mdounin@mdounin.ru> wrote:> Hello!>> Недавно в сети появилось...
View ArticleRe: про якобы уязвимость
Hello!On Mon, Apr 29, 2013 at 03:14:02PM +0200, Bondar Alexey wrote:> Это про вот это? http://www.securityfocus.com/archive/1/526439/30/0/threadedДа.>> On 29 Apr 2013, at 14:32, Maxim Dounin...
View ArticleRe: Online Jobs and Entertainment
Speaking of which, what do you guys use for a spam filter? I've been thinking about setting up mailman. I'm surprised at how little spam I've seen here given how popular nginx is. (I realize this gem...
View ArticleConverting subdomain to path component without redirect ?
Hello guys,Am having trouble setting up my nginx.config to transparently proxy thesubdomains and domains to the same app, but with different "pathcomponents" appended to the...
View Article