Re: [PATCH] Request hang when cache_lock is used in subrequests

2014-11-27 Thread Maxim Dounin
Hello! On Sat, Oct 26, 2013 at 03:38:35PM -0700, Yichun Zhang (agentzh) wrote: Hello! Akos Gyimesi reported a request hang (downstream connections stuck in the CLOSE_WAIT state forever) regarding use of proxy_cache_lock in subrequests. The issue is that when proxy_cache_lock_timeout is

Загрузка файла, не работает X-Accel-Redirect

2014-11-27 Thread isamitakata
Приветствую! Появилась проблема с загрузкой файла, уже не пару часов провел в решении проблемы и гугления, так ее и не решил. И так. Файлы загружаются на сервер в каталог /var/www/servers/s_1/{при загрузке файла создается папка - имя хеш}/filename.txt Ссылка на файл имеет вид

Re: Nginx + lua-nginx, get ssl_session_id

2014-11-27 Thread VladimirSmirnov
Thanks! Then what should I use for TLS connections? P.S. As pointed by resty.session author, I've disabled ssl_session_ticket and now I'm receiving ssl_session_id even with TLS enabled. But I'm not sure that it's best way to deal with this problem. P.S.S. I've used this mail-listing, because

Re: Validate Client certificate SDN fields (CN, OU, O, etc..) at Nginx

2014-11-27 Thread Francis Daly
On Wed, Nov 26, 2014 at 11:24:45AM -0500, sandeepkolla99 wrote: Hi there, I'm able to verify client certificate successfully. Now, additionally I want perform the following three validations on client certificate You have $ssl_client_s_dn. If you want to stay purely in nginx.conf, can you

Re: Nginx rewrite non-existent files under sub directory with rewrite rules

2014-11-27 Thread Joyce Babu
I am getting a new dedicated server and need to decide between Nginx and Apache Event MPM. I have received expert advice to use Nginx, but unless I have a solution to this problem I am unable to move to Nginx. I have been trying to solve this for the past 3 days. I have been checking the Nginx

Re: NGINX using 100% of the server CPU when testing with Blitz.io

2014-11-27 Thread julianfernandes
Yichun Zhang (agentzh) Wrote: --- Hello! On Wed, Nov 26, 2014 at 11:15 AM, julianfernandes wrote: Running Blitz.io on it the server is getting absolutely murdered by the NGINX worker processes, which each one using 100% CPU according to

Re: NGINX using 100% of the server CPU when testing with Blitz.io

2014-11-27 Thread itpp2012
julianfernandes Wrote: --- Why would SSL perform so badly? I generated the key with 4096 instead of 2048, but I don't believe that would affect CPU usage this much. http://bench.cr.yp.to/results-encrypt.html Posted at Nginx Forum:

Re: NGINX using 100% of the server CPU when testing with Blitz.io

2014-11-27 Thread Maxim Dounin
Hello! On Thu, Nov 27, 2014 at 09:21:49AM -0500, julianfernandes wrote: Ok, just tested it with HTTP instead of HTTPS and while it did reach 100% of CPU usage from time to time, the average load was 50% and the Blitz.io test was a lot better: - 33,086 HITS WITH 29 ERRORS 2,344 TIMEOUTS

Re: Nginx rewrite non-existent files under sub directory with rewrite rules

2014-11-27 Thread Francis Daly
On Wed, Nov 26, 2014 at 05:35:06PM +0530, Joyce Babu wrote: Hi there, I am trying to move a site with a large number (93) of .htaccess files from Apache to Nginx. There isn't always a 1:1 correspondence between apache and nginx config, so some things will differ. The suggestions below do do

Re: how to block excluding specific url in nginx?

2014-11-27 Thread B.R.
Make a location that matches each URI exactly and copy-paste content. As Francis explained, location matches are inclusive, not exclusive, thus everything you do not match goes elsewhere. --- *B. R.* On Thu, Nov 27, 2014 at 9:40 AM, goversation nginx-fo...@nginx.us wrote: thanks for replying.

Re: how to block excluding specific url in nginx?

2014-11-27 Thread goversation
Thank you for replying. You'll get blessed. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255147,255191#msg-255191 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: how to block excluding specific url in nginx?

2014-11-27 Thread goversation
thanks a lot :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255147,255192#msg-255192 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx