Welcome! Log In Create A New Profile

Advanced

Limit connections for all servers in http but one server without limits

Posted by Shi3A 
Limit connections for all servers in http but one server without limits
March 25, 2014 08:14AM
Добрый день!
Задача: Ограничить подключение ко всем vhost'ам общим числом подключений (скажем 100, и неважно, будет ли это 100 человек к 100 vhost'ам, или один человек сожрет 100 подключений к 1 vhost'у), но оставить один vhost, который будет без ограничений (ну или выставить заведомо огромное число подключений). Такое возможно?
Пробовал писать две limit_conn_zone в секцию http, то срабатывает меньшая.

Спасибо за ответ.
Re: Limit connections for all servers in http but one server without limits
March 25, 2014 02:15PM
Translate:
I want to limit connections via limit_conn_zone. But I need one limit_conn_zone for all servers, exclude one. I don't care 100 connections to 100 servers from 100 people or 100 connections to 1 server from 1 man.
I tried to configure two limit_conn_zone, but works is less option.
It possible?
Any other ideas how to limit connections?
Thanks!

P.S. Sorry for my bad english =)



Edited 1 time(s). Last edit at 03/25/2014 02:16PM by Shi3A.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready