[nginx] SSL: SSL_CTX_set_timeout() now always called.

2013-10-14 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/767aa37f12de branches: changeset: 5424:767aa37f12de user: Maxim Dounin mdou...@mdounin.ru date: Mon Oct 14 13:59:35 2013 +0400 description: SSL: SSL_CTX_set_timeout() now always called. The timeout set is used by OpenSSL as a hint for clients

Re: [PATCH] SSL: added support for TLS Session Tickets (RFC5077).

2013-10-14 Thread Maxim Dounin
Hello! On Fri, Oct 11, 2013 at 04:22:07PM -0700, Piotr Sikora wrote: Hey Maxim, Wouldn't it better to move ngx_ssl_session_ticket_md defines to ngx_ssl_session_ticket_key_callback() implementation? You mean inside the function or just above it? I moved them just above it. I'm fine

[nginx] SSL: added ability to set keys used for Session Tickets ...

2013-10-14 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/1356a3b96924 branches: changeset: 5425:1356a3b96924 user: Piotr Sikora pi...@cloudflare.com date: Fri Oct 11 16:05:24 2013 -0700 description: SSL: added ability to set keys used for Session Tickets (RFC5077). In order to support key rollover,

Re: Redirect

2013-10-14 Thread Cergoo
для меня тема редиректа ещё интересна, если кто может растолковать было бы замечательно, а то я подозреваю, что возможно я просто не знаю как правильно делать редирект без уведомления клиента. Posted at Nginx Forum: http://forum.nginx.org/read.php?21,243543,243668#msg-243668

Re: Вопрос по client body in file only в контексте file upload

2013-10-14 Thread naive
Максим, добрый день! Спасибо за развернутый ответ. Несколько комментариев: Каталог для хранения временных файлов не предназначен для того, чтобы в нём держали файлы дольше, чем это необходимо для обработки этих файлов. Фатальных проблем при коллизиях не возникнет, см. выше, но и

Re: Вопрос по client body in file only в контексте file upload

2013-10-14 Thread Anatoly Mikhailov
On Oct 14, 2013, at 1:07 PM, naive nginx-fo...@nginx.us wrote: Максим, добрый день! Спасибо за развернутый ответ. Несколько комментариев: Каталог для хранения временных файлов не предназначен для того, чтобы в нём держали файлы дольше, чем это необходимо для обработки этих файлов.

Re: Вопрос по client body in file only в контексте file upload

2013-10-14 Thread Maxim Dounin
Hello! On Mon, Oct 14, 2013 at 08:07:57AM -0400, naive wrote: Каталог для хранения временных файлов не предназначен для того, чтобы в нём держали файлы дольше, чем это необходимо для обработки этих файлов. Фатальных проблем при коллизиях не возникнет, см. выше, но и хорошего тоже

Re: Вопрос по client body in file only в контексте file upload

2013-10-14 Thread naive
Спасибо всем за комментарии. Posted at Nginx Forum: http://forum.nginx.org/read.php?21,243661,243686#msg-243686 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: Вопрос по client body in file only в контексте file upload

2013-10-14 Thread Vadim Lazovskiy
Здравствуйте. Директива client_body_in_file_only как раз предназначена для того, чтобы лишний раз не гонять тело запроса в рамках одной машины, а записать его на диск и передать на обработку бекенду уже файл. И та же функциональность используется в модуле DAV, но уже в рамках самого nginx'а.

Nginx configuration variable max size

2013-10-14 Thread Calin Don
Hi, Is there any limit on what amount of data an nginx config variable can hold? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: limit_req for spiders only

2013-10-14 Thread Sylvia
Hello. Doesnt robots.txt Crawl-Delay directive satisfy your needs? Normal spiders should obey robots.txt, if they dont - they can be banned. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243670,243674#msg-243674 ___ nginx mailing list

Re: limit_req for spiders only

2013-10-14 Thread Francis Daly
On Mon, Oct 14, 2013 at 01:59:23PM +0200, Toni Mueller wrote: Hi there, This is untested, but follows the docs at http://nginx.org/r/limit_req_zone: I therefore constructed a map to identify spiders, which works well, and then tried to limit_req_zone $binary_remote_addr zone=slow:10m ...;

Re: Quick performance deterioration when No. of clients increases

2013-10-14 Thread Toni Mueller
Hi Nick, On Sat, Oct 12, 2013 at 04:47:50PM +0300, Nikolaos Milas wrote: We'll add virtual RAM and cores. *Any other suggestions? * did you investigate disk I/O? I found this to be the limiting factor. If you have shell access and if it is a Linux machine, you can run 'top', 'dstat' and

Re: limit_req for spiders only

2013-10-14 Thread Toni Mueller
H Francis, On Mon, Oct 14, 2013 at 03:23:03PM +0100, Francis Daly wrote: In your map, let $is_spider be empty if is not a spider (default, presumably), and be something else if it is a spider (possibly $binary_remote_addr if every client should be counted individually, or something else if

Any rough ETA on SPDY/3 push?

2013-10-14 Thread codemonkey
Contemplating switching my site over to Jetty to take advantage of spdy/3 and push, but would rather stay with nginx really... Is there a rough ETA on spdy3 in nginx? 1 month? 6 months? 2 years? Thanks, sorry if this is a frequent request... Posted at Nginx Forum:

Re: Any rough ETA on SPDY/3 push?

2013-10-14 Thread Andrew Alexeev
On Oct 14, 2013, at 8:01 PM, codemonkey nginx-fo...@nginx.us wrote: Contemplating switching my site over to Jetty to take advantage of spdy/3 and push, but would rather stay with nginx really... Is there a rough ETA on spdy3 in nginx? 1 month? 6 months? 2 years? Thanks, sorry if this

Re: A Grade SSL/TLS with Nginx and StartSSL

2013-10-14 Thread Piotr Sikora
Hi Julien, I spent some time hacking on my SSL conf recently. Nothing new, but I figured I'd share it with the group: https://jve.linuxwall.info/blog/index.php?post/2013/10/12/A-grade-SSL/TLS-with-Nginx-and-StartSSL Feel free to comment here. a few pointers for configuring state-of-the-art