On Saturday 28 December 2013 18:14:57 Daniel Podolsky wrote: > 2013/12/28 Maxim Dounin <mdounin@mdounin.ru>: > > > Когда-то я думал, что rewrite'ы - это плохо. > > а чем плохо - рерайты? > > задача возникает часто, работает оно хорошо, и, вроде, без подводных > камby VBart - Nginx Mailing List - Russian
> Получается, что если в течение 1мс пришли 2 запроса, то второй будет дропнут, > даже если в конфиге будет прописано 2000r/s? Только при условии, что burst был исчерпан.by VBart - Nginx Mailing List - Russian
On Sunday 01 September 2013 00:32:16 Vladimir Getmanshchuk wrote: > Здравствуйте! > > Подскажите пожалуйста, а как без "грязных хаков" получить от nginx, 414 > status code, на запросы, размер которых, превышает large_client_header_ > buffers? > > Постоянно полуby VBart - Nginx Mailing List - Russian
On Saturday 11 May 2013 21:30:39 Maxim Dounin wrote: > Hello! > > On Wed, May 08, 2013 at 05:08:17AM +0400, Valentin V. Bartenev wrote: > > On Thursday 02 May 2013 14:32:51 Piotr Sikora wrote: > > > # HG changeset patch > > > # User Piotr Sikora <piotr@cloudflare.com> > > > # Date 1367490396 25200 > > > # Node ID c6434a8634386be8b9bfb90be47by VBart - Nginx Development
On Saturday 17 November 2012 07:58:49 azure peng wrote: > Hi, All, > I use nginx 1.2.4 > I want to use chunked_transfer_encoding sending to client for > static files , but I found the "chunked_transfer_encoding" is not work > for static files ( found code in ngx_http_chunked_header_filter() ) , I > change the code for call ngx_http_clear_content_lengby VBart - Nginx Mailing List - English
On Monday 12 November 2012 13:03:49 justin wrote: > I am trying to block all requests which do not come from my own server. A > quick read of the nginx wiki led me to the valid_referers directive. I > implemented it like: > > server { > listen 80; > > server_name ~^(?<account>.+)\.my-domain\.io$; > > root /srv/www/accounts/$account/app; > > inby VBart - Nginx Mailing List - English
On Wednesday 07 November 2012 16:33:31 Igor Sysoev wrote: > On Nov 7, 2012, at 16:00 , Валентин Бартенев wrote: > > On Wednesday 07 November 2012 14:39:46 egorrrr wrote: > >> нужно заменить строку http://example.com на http://example.com/#start > >> [...] > > > > Это невозможно в принципе. > >by VBart - Nginx Mailing List - Russian
On Wednesday 07 November 2012 16:33:48 Валентин Бартенев wrote: > On Wednesday 07 November 2012 16:26:29 egorrrr wrote: > > я только начал разбираться в "этом вашем интернете" и может чегото > > недопонимаю, но > > http://www.paulrhayes.com/experiments/clock/ > > и > > httby VBart - Nginx Mailing List - Russian
On Wednesday 07 November 2012 16:26:29 egorrrr wrote: > я только начал разбираться в "этом вашем интернете" и может чегото > недопонимаю, но > http://www.paulrhayes.com/experiments/clock/ > и > http://www.paulrhayes.com/experiments/clock/#clock > дают разный результат, как этоby VBart - Nginx Mailing List - Russian
On Wednesday 07 November 2012 14:39:46 egorrrr wrote: > нужно заменить строку http://example.com на http://example.com/#start > [...] Это невозможно в принципе. Адреса http://example.com/ и http://example.com/#start с точки зрения сервера совершенно одинаковые, браузер не передает fraby VBart - Nginx Mailing List - Russian
On Tuesday 06 November 2012 17:03:49 Dmitriy wrote: > >>cat ssl.crt sub.class1.server.ca.pem ca.pem (в инструкции) > >>cat sub.class1.server.ca.pem ca.pem (у вас) > > Да теперь вижу. > > Так вроде вьехал, там надо skip нажать после формирования ключа и запросить > серby VBart - Nginx Mailing List - Russian
On Tuesday 06 November 2012 16:37:54 Dmitriy wrote: > Сделал по инстукции еще раз > > - Fetch the Root CA and Class 1 Intermediate Server CA certificates: > > *wget http://www.startssl.com/certs/ca.pem > wget http://www.startssl.com/certs/sub.class1.server.ca.pem* > > - Create a unified certificate from your certificate and the CA > cerby VBart - Nginx Mailing List - Russian
On Tuesday 06 November 2012 09:40:34 justin wrote: > Why can't I use a dynamic error_log location like I do with access_log? > [...] Because it is "error_log" that may contain critical errors, therefore it must always be accessible. wbr, Valentin V. Bartenev -- http://nginx.com/support.html http://nginx.org/en/donation.html _______________________________________________ ngiby VBart - Nginx Mailing List - English
On Tuesday 06 November 2012 15:41:47 hjcnjdobr wrote: > 1. Если речь о listen *:80 - то понятно, но nginx.conf содержит - > server_name _; который покрывает все. server_name _; - это не "покрывает все". Это просто невалидное доменное имя. За подробностями: http://nginx.orby VBart - Nginx Mailing List - Russian
On Saturday 03 November 2012 10:08:48 howard chen wrote: > Re: How to view Nginx wiki history? You should register an account to view the history: http://wiki.nginx.org/index.php?title=Special:UserLogin wbr, Valentin V. Bartenev -- http://nginx.com/support.html http://nginx.org/en/donation.html _______________________________________________ nginx mailing list nginx@nginx.org http://mailmaby VBart - Nginx Mailing List - English
On Wednesday 31 October 2012 17:52:20 free_kode wrote: > Доброго времени суток! > > Проксируется gitweb запущенный под lighttp. В конфиге такая запись: > > location /gitweb/ { > proxy_pass http://127.0.0.1:1234 > } > > Если идти на http://domain/gitweb/ то ок видим интерфейсby VBart - Nginx Mailing List - Russian
On Wednesday 31 October 2012 15:28:58 peschuster wrote: > VBart Wrote: > > It most likely that your system memory allocator do not return freed > > memory to the OS. > > How can I check this? I suspect this should be part of the OS (Linux)? Usually it's a part of glibc in Linux. > Could you give me any keyword to read more about this? Try man mallopt. wbr, Valentin V.by VBart - Nginx Mailing List - English
On Wednesday 31 October 2012 00:32:22 madad wrote: > Добрый день. > > Есть задача сделать редирект по полному совпадению URI, в котором > содержится anchor. Вот такой: > > > https://www.domain.com/#register?lead_type=business_trial&lead_source=websi > te>est=false > > Сдеby VBart - Nginx Mailing List - Russian
On Tuesday 30 October 2012 17:51:37 selts wrote: > Добрый день! > Скажите пож у меня есть такой location > > location ~* \.(txt|log|rar)$ { > access_log on; Писать access_log в файл с именем "on" - это очень странно. > rewrite ^ http://mysite/error?by VBart - Nginx Mailing List - Russian
On Tuesday 30 October 2012 18:20:00 ProxyKZ wrote: > На сервере стояла Linux Debian + Apache + Nginx + MySQL, с ростом > посещаемости сайтов начались проблемы с дисковой системой, в Top-е часто > висел WA со значениями 50-100% при этом nginx начинал медленно отдаваby VBart - Nginx Mailing List - Russian
On Tuesday 30 October 2012 18:53:28 Alexey V. Karagodov wrote: > On 30.10.2012, at 18:51, Валентин Бартенев <ne@vbart.ru> wrote: > > On Tuesday 30 October 2012 18:49:12 Alexey V. Karagodov wrote: > >> On 30.10.2012, at 18:09, Maxim Dounin <mdounin@mdounin.ru> wrote: > >> [...] > >> > >>> *) Добавление: парby VBart - Nginx Mailing List - Russian
On Tuesday 30 October 2012 18:49:12 Alexey V. Karagodov wrote: > On 30.10.2012, at 18:09, Maxim Dounin <mdounin@mdounin.ru> wrote: > [...] > > > > *) Добавление: параметр auto директивы worker_processes. > > а как nginx пытается определить кол-во вокеров? > спасибо > http://nginx.org/rby VBart - Nginx Mailing List - Russian
On Monday 29 October 2012 21:13:01 peschuster wrote: > Hi, > > I cross-compiled nginx for microblaze processors > (http://github.com/peschuster/nginx) and am currently doing some > performance benchmarks with nginx running on a microblaze processor with a > custom designed SoC on a FPGA. > > However, I am having problems with the memory consumption of nginx: > > Whby VBart - Nginx Mailing List - English
On Tuesday 30 October 2012 06:20:47 Benimaur Gao wrote: > thanks, but is this method a global setting? > can I only change the return code for limit_zone? > Nginx does not return 503 itself, except limit_req/limit_conn. wbr, Valentin V. Bartenev -- http://nginx.com/support.html http://nginx.org/en/donation.html _______________________________________________ nginx mailing list nginxby VBart - Nginx Mailing List - English
On Tuesday 30 October 2012 04:57:40 B.R. wrote: > @Valentin > I am not seeking a solution to the 414 problem, I know how to address the > issue > Thanks anyway > > @Francis > The browser output has just be made to illustrate the wrong answer. > > The problem triggered using a Python script which checked against the > 'status' field of a HTTP answer to decide on itsby VBart - Nginx Mailing List - English
On Tuesday 30 October 2012 03:43:27 B.R. wrote: > Hello, > > When submitting too large requests, Nginx replies a page containing the > right code status but serves the errors page with a HTTP/0.9 (!) 200 > answer. Screenshot as attachment. > You should tune "large_client_header_buffers". http://nginx.org/r/large_client_header_buffers wbr, Valentin V. Bartenev --by VBart - Nginx Mailing List - English
On Friday 26 October 2012 18:17:30 ProxyKZ wrote: > Так Nginx и стоит перед Apache-м, и стали валиться такие ошибки в логе > апача. Потому и подозреваю в неверных настройках nginx. > - это не ошибки. -- Валентин Бартенев http://nginx.com/support.html http://nginx.org/en/donby VBart - Nginx Mailing List - Russian
On Thursday 25 October 2012 17:06:04 allandzr wrote: > Спасибо, это помогло! > нашел сайт который буферизирует большой файл ~2 Гб > выключил для него proxy_buffering Это вы зря. > есть ли другие варианты отдавать через nginx большие файлы, что бы он иby VBart - Nginx Mailing List - Russian
On Thursday 25 October 2012 13:08:45 Kasper Grubbe wrote: > [...] > > Sorry, that is from my Ruby code, the rendered output would be this: > > <!--# block name="ss116812" --><!--# endblock --> > <!--# include virtual="/poll/sidebar_widget_fragment?poll=" stub="ss116812" > --> > > And after running it through NGINX, it woby VBart - Nginx Mailing List - English
On Thursday 25 October 2012 12:48:28 Kasper Grubbe wrote: > Hello, > > I am using nginx/1.2.3 on my server, and tried to use this in my SSI > includes: > > <!--# block name="#{unique}" --><!--# endblock --> > <!--# include virtual="#{url}" stub="#{unique}" --> > > However, this doesn't seem to work. I just get a blank paby VBart - Nginx Mailing List - English