Re: квантификация группы
Hello.2013/01/12 12:32:05 +0300 VovansystemS <vovansystems@gmail.com> => To nginx-ru@nginx.org :V> Требуется создать один server, который будет обрабатывать все запросыV> по единому...
View ArticleRe: квантификация группы
Здравствуйте, VovansystemS.> Требуется создать один server, который будет обрабатывать все> запросы по единому шаблону. Поскольку некоторые сайты могут иметь> поддомен www., а папки с сайтами...
View ArticleRe: квантификация группы
> Зачем квантификатор '*' или {0,1} ? Есть квантификатор '?'.действительно! вылетел из головы :)server_name ~^(?:www\.)?(?<domain>.+)$;так работает> Я здесь спрашивал было дело насчёт...
View ArticleТорможение ботов через limit_req
Здравствуйте.Захотелось тут ограничить количество запросов, приходящих от ботов.Написал вот так:map $http_user_agent $rpm {default 999999;~bot 1;}limit_req_zone $binary_remote_addr zone=one:10m...
View ArticleRe: Торможение ботов через limit_req
On Sunday 13 January 2013 04:55:16 Михаил Монашёв wrote:> Здравствуйте.>> Захотелось тут ограничить количество запросов, приходящих от ботов.> Написал вот так:>> map $http_user_agent...
View ArticleModules in nginx for windows?
Hello! I've been trying to get my nginx server on my windows 7 PC to play audio files and streams, but even though the player shows up it doesn't get farther than that. I think it may have something to...
View ArticleRe: Request time of 60s when denying SSL requests?
Hello!On Sat, Jan 12, 2013 at 12:19:15PM -0800, JB Hobbs wrote:> > return 444;>> Thanks. I tested this. I think in some ways it is worse. In one> way it seems better because with 444 I...
View ArticleVariables and includes
Is it possible to use a variable from one configuration in a includedconfig file? Example:set $a = "hello";include test.conf;[test.conf]if ($a = "hello") {set $a = "world";}# something that works with...
View ArticlePerceived poor performance
I don't know if this actually IS poor performance - it just feels like it.I'm running nginx and php-fpm on a VirtualBox virtual server. No otherservices are running (other than the standard Ubuntu...
View ArticleRe: Perceived poor performance
On 1/12/2013 9:52 PM, Daniel L. Miller wrote:> I don't know if this actually IS poor performance - it just feels like> it.>> I'm running nginx and php-fpm on a VirtualBox virtual server....
View ArticleRe: Perceived poor performance
On 13/01/13 19:17, Daniel L. Miller wrote:> On 1/12/2013 9:52 PM, Daniel L. Miller wrote:>> I don't know if this actually IS poor performance - it just feels>> like it.>>>>...
View ArticleRe: Perceived poor performance
On 1/12/2013 10:28 PM, Steve Holdoway wrote:> On 13/01/13 19:17, Daniel L. Miller wrote:>> On 1/12/2013 9:52 PM, Daniel L. Miller wrote:>>> I don't know if this actually IS poor...
View ArticleRe: Perceived poor performance
On 01/13/2013 07:17 AM, Daniel L. Miller wrote:[snip]> Further tests show me it isn't for all requests - only requests to my> Wordpress sites, which have a much more complex nginx configuration...
View ArticleNginx memory usage issue
Hi,I have one question. Do I need to call ngx_http_finalize_request for everyrequest after callingngx_http_send_response(r, NGX_HTTP_OK, &ngx_http_json_type, cv);?If yes.Can I successfully call it...
View ArticleRe[2]: Торможение ботов через limit_req
Здравствуйте, Валентин.>> Подскажите пожалуйста, как ограничить количество запросов через>> limit_req для юзерагентов, для которых матчится регэксп?> map $http_user_agent $bot_ua {>...
View ArticleRe: Is it possible that nginx will not buffer the client body?
Hello!@yaoweibin> If you are eager for this feature, you could try my patch:> https://github.com/taobao/tengine/pull/91. This patch has been running in> our production servers.what's the nginx...
View ArticleRe[2]: Торможение ботов через limit_req
Здравствуйте, Валентин.>> Подскажите пожалуйста, как ограничить количество запросов через>> limit_req для юзерагентов, для которых матчится регэксп?> map $http_user_agent $bot_ua {>...
View ArticleRe[2]: Торможение ботов через limit_req
Здравствуйте, Валентин.А как в логе увидеть флаг того , что запрос был приторможен? Понятно,что есть реквет-тайм, но может он большой по каким-то другим причинам.--С уважением,Михаил...
View ArticleRe: fastcgi wrapper for windows
Look for srvany, http://support.microsoft.com/kb/137890Then create a batchfile (.cmd) which loads php-cgi.exe with its parameters or make the service run php-cgi directly.
View Articlenginx user directive - multiple users?
Hi,I'm using nginx as a reverse proxy with apache. I'm using fcgi/mod_fcgi, hence, my php processes run under specific 'users' from each domain on my server.Example:site1.comuser = site1site2.comuser =...
View Article