Re: Config Mail Proxy for POP3/SMTP microsoft exchange

2013-10-16 Thread hcmnttan
Thanks for your respond. So we must 1st setup an HTTP authentication server (PHP or something ) for auth_http, right ? Could you tell me a little more how to setup this HTTP authen URL ? In my example: NGINX server IP: 192.168.1.100 POP3 / SMTP server IP : 192.168.1.101

Re: "A" Grade SSL/TLS with Nginx and StartSSL

2013-10-16 Thread eiji-gravion
Piotr Sikora Wrote: --- > > ssl_session_timeout 5m; > > Not only doesn't it change anything (5m is the default value), but > it's way too low value to be used. > > Few examples from the real world: > > Google: 28h > Facebook : 24h

Re: Quick performance deterioration when No. of clients increases

2013-10-16 Thread Scott Ribe
On Oct 16, 2013, at 10:16 AM, Nikolaos Milas wrote: > I have (4 CPU cores and): > > worker_processes 4; > worker_rlimit_nofile 40; > > events { > worker_connections 8192; > multi_accept on; > use epoll; > } Then I have confused this thread with a different one. Sorry for the

Re: Quick performance deterioration when No. of clients increases

2013-10-16 Thread Nikolaos Milas
On 16/10/2013 7:10 μμ, Scott Ribe wrote: Have you considered not having vastly more worker processes than you have cores? (IIRC, you have configured things that way...) I have (4 CPU cores and): worker_processes 4; worker_rlimit_nofile 40; events { worker_connections 8192;

Re: Quick performance deterioration when No. of clients increases

2013-10-16 Thread Scott Ribe
On Oct 16, 2013, at 10:07 AM, Nikolaos Milas wrote: > 2. If not, how can we safeguard the web server by setting a suitable > limit which cannot be surpassed to cause performance deterioration? Have you considered not having vastly more worker processes than you have cores? (IIRC, you have con

Re: Quick performance deterioration when No. of clients increases

2013-10-16 Thread Nikolaos Milas
On 16/10/2013 1:32 μμ, Nikolaos Milas wrote: Now my problem is that there seems to be a limit of performance... Increasing stress load more than that (I am using tsung for load testing), results only to increasing "error_connect_emfile" errors. I have been trying to resolve this behavior an

Re: SSL certificate not loaded

2013-10-16 Thread gaspy
Maxim Dounin Wrote: --- > > I have another server block just for redirect, I disabled SSL on it > but the > > problem persists. > > Here's how the other block looks like: > > > > server > > { > > listen 80; > > #listen

Re: Nginx Webdav & POST method

2013-10-16 Thread smainklh
Lol, thanks Jonathan. I'll let you know what the devs will reply to this issue. You're right, this should be done from their side as Nginx is rfc compliant ^^ But your hack can be usefull under certain circumtances :p Regards, Smana - Mail original - De: "Jonathan Matthews" À: nginx@n

Re: Nginx Webdav & POST method

2013-10-16 Thread Jonathan Matthews
On 16 Oct 2013 13:09, wrote: > > Thanks Maxim, > I'll contact their support in order to understand its behavior. If you discover that it does indeed use POSTs in an nginx-incompatible way, you could use nginx to hack the request into something usable. [ NB I'd only do this for an absolutely immut

Re: Nginx Webdav & POST method

2013-10-16 Thread smainklh
Thanks Maxim, I'll contact their support in order to understand its behavior. See you, Smana - Mail original - De: "Maxim Dounin" À: nginx@nginx.org Envoyé: Mercredi 16 Octobre 2013 13:35:13 Objet: Re: Nginx Webdav & POST method Hello! On Wed, Oct 16, 2013 at 01:32:19PM +0200, smain...

Re: Nginx Webdav & POST method

2013-10-16 Thread Maxim Dounin
Hello! On Wed, Oct 16, 2013 at 01:32:19PM +0200, smain...@free.fr wrote: > Actually it's a video encoding appliance which seems to push files with POST  > request. It seems that appliance needs to be fixed to properly use WebDAV, there is the PUT method to put files. -- Maxim Dounin http://ng

Re: Nginx Webdav & POST method

2013-10-16 Thread smainklh
Thank you Maxim, Actually it's a video encoding appliance which seems to push files with POST  request. Please find below the error logs : 2013/10/16 09:19:14 [error] 17204#0: *237 no user/password was provided for basic authentication, client: x.x.x.x, server: localhost, request: "PROPFIND /86

Re: Nginx Webdav & POST method

2013-10-16 Thread Maxim Dounin
Hello! On Wed, Oct 16, 2013 at 11:53:20AM +0200, smain...@free.fr wrote: > We have an appliance which trying to perform POST methods against the Nginx > server. > However this doesn't seem to be supported. > Could you please confirm me that ? > And is there a workaround in order to allow POST re

Re: Config Mail Proxy for POP3/SMTP microsoft exchange

2013-10-16 Thread Maxim Dounin
Hello! On Wed, Oct 16, 2013 at 03:43:53AM -0400, hcmnttan wrote: > Hi there, > > Is NGINX support Microsoft Exchange POP3 / SMTP ??? > If yes, can anyone help me to config NGINX as reverse proxy for MS Exchange. > > Followed the link : http://wiki.nginx.org/ImapProxyExample but I could > still

Re: Quick performance deterioration when No. of clients increases

2013-10-16 Thread Nikolaos Milas
On 14/10/2013 5:47 μμ, Toni Mueller wrote: did you investigate disk I/O? Hi again, Thanks for your suggestions (see below on that). In the meantime, we have increased CPU power to 4 cores and the behavior of the server is much better. I found that the server performance was reaching a bot

Nginx Webdav & POST method

2013-10-16 Thread smainklh
Hello, We have an appliance which trying to perform POST methods against the Nginx server. However this doesn't seem to be supported. Could you please confirm me that ? And is there a workaround in order to allow POST requests ? Regards, Smana ___ ng

Config Mail Proxy for POP3/SMTP microsoft exchange

2013-10-16 Thread hcmnttan
Hi there, Is NGINX support Microsoft Exchange POP3 / SMTP ??? If yes, can anyone help me to config NGINX as reverse proxy for MS Exchange. Followed the link : http://wiki.nginx.org/ImapProxyExample but I could still dont understand where to put the IP POP3/IMAP target server's IP Many thanks. T