<div>Мне нужно для одного из location заблокировать порядка 10-20 query_string, а остальные пропустить. Так вот, query_string может содержать символ $ и нужно это учесть.</div><div> </div><div>16.05.2016, 14:07, "Иван" <nginx@kinetiksoft.com>:</div><blockquote type="cite"><div style="font-family:Monospace;font-size:9pt;font-weight:400;font-style:normal;"><p style="margin:0px;">Мне кажется, что нет, не правильно понимаете. Опишите конкретнее, что хотите получить, пожалуйста.</p><p style="margin:0px;"> </p><p style="margin:0px;">В письме от 16 мая 2016 14:05:52 пользователь Sergey V. Sokolov написал:</p><p style="margin:0px;">> Я правильно понимаю, что на каждую такую операцию сравнения, будет две</p><p style="margin:0px;">> директивы в конфиге map и if? Получается в две операции. Короче можно?</p><p style="margin:0px;">> 16.05.2016, 02:57, "Иван" <<a href="mailto:nginx@kinetiksoft.com">nginx@kinetiksoft.com</a>>:</p><p style="margin:0px;">></p><p style="margin:0px;">> В письме от 16 мая 2016 01:47:12 пользователь Sergey V. Sokolov написал:</p><p style="margin:0px;">> > $query_string</p><p style="margin:0px;">></p><p style="margin:0px;">>  </p><p style="margin:0px;">> Здравствуйте!</p><p style="margin:0px;">>  </p><p style="margin:0px;">> Наиболее правильно</p><p style="margin:0px;">> map $arg_p $block {</p><p style="margin:0px;">> 'anyqwery$' 1;</p><p style="margin:0px;">> }</p><p style="margin:0px;">>  </p><p style="margin:0px;">> if ($block) {</p><p style="margin:0px;">> return 403;</p><p style="margin:0px;">> }</p><p style="margin:0px;">>  </p><p style="margin:0px;">> С уважением, Иван.</p><p style="margin:0px;">> ,</p><p style="margin:0px;">> _______________________________________________</p><p style="margin:0px;">> nginx-ru mailing list</p><p style="margin:0px;">> <a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a></p><p style="margin:0px;">> <a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a></p><p style="margin:0px;">></p><p style="margin:0px;">>  </p><p style="margin:0px;">>  </p><p style="margin:0px;">> --</p><p style="margin:0px;">> С уважением, Сергей Соколов</p><p style="margin:0px;">> Заместитель директора</p><p style="margin:0px;">> Zavolga.Net (ООО "Горизонт"), г. Ярославль</p><p style="margin:0px;">> Тел.: <span>+7 4852 333-402</span></p><p style="margin:0px;">> Сайт: <a href="http://zavolga.net/">http://zavolga.net</a></p><p style="margin:0px;">>  </p><p style="margin:0px;">> Руководитель проекта</p><p style="margin:0px;">> Региональный Интернет Дневник</p><p style="margin:0px;">> Сайт: <a href="http://dnevnik76.ru/">http://dnevnik76.ru</a> </p><p style="margin:0px;">>  </p><p style="margin:0px;">> Руководитель проекта</p><p style="margin:0px;">> Ярославский Internet Exchange (YAR-IX)</p><p style="margin:0px;">> Сайт: <a href="http://yar-ix.net/">http://yar-ix.net</a></p><p style="margin:0px;">></p><p style="margin:0px;">> nic-hdl: SVS141-RIPE</p><p style="margin:0px;">> X-NCC-RegID: ru.gorizont</p><p style="margin:0px;">>  </p><p style="margin:0px;"> </p></div>,<p>_______________________________________________<br />nginx-ru mailing list<br /><a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br /><a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a></p></blockquote><div> </div><div> </div><div>-- <br />С уважением, Сергей Соколов<br />Заместитель директора<br />Zavolga.Net (ООО "Горизонт"), г. Ярославль<br />Тел.: +7 4852 333-402<br />Сайт: http://zavolga.net</div><div> </div><div>Руководитель проекта<br />Региональный Интернет Дневник<br />Сайт: http://dnevnik76.ru </div><div> </div><div>Руководитель проекта</div><div>Ярославский Internet Exchange (YAR-IX)</div><div>Сайт: http://yar-ix.net<br /><br />nic-hdl: SVS141-RIPE<br />X-NCC-RegID: ru.gorizont</div><div> </div>