Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

2015-03-12 Thread dominus.ceo
I changed the IP address into my php script and i think we are moving on, now i'm seening the next error into my logs: *6 upstream sent invalid response: "550 5.7.0 Error: insufficient authorization" while reading response from upstream, client: 192.168.122.1 using starttls, server: 0.0.0.0:587,

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

2015-03-12 Thread dominus.ceo
Sorry, me mistake, all the IP's are related to with the 192.168.122.0/255.255.255.0 network. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257206,257233#msg-257233 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

2015-03-12 Thread Francis Daly
On Thu, Mar 12, 2015 at 07:25:09PM -0400, dominus.ceo wrote: > upstream timed out (110: Connection timed out) while connecting to > upstream, client: 192.168.122.1, server: 0.0.0.0:143, login: > "ricardo.carrillo", upstream: 192.168.192.78:143 Your client connected to nginx port 143 (for imap).

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

2015-03-12 Thread dominus.ceo
Hi there, I have decided delete all authetication part from the email process auth, and first made the simplest configuration, so i have configured nginx based on the the examples provided into wiki nginx page and just modified it to get an IP address and hostname to redirect my users to my back

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

2015-03-12 Thread dominus.ceo
Thank's in advance. The php ngnix integration already worked fine, but your idea it is goot to know what else is obtained with the manual request, I put the result of the execution: 168.122.170:80/correo-proxy-auth/auth.php * About to connect() to 192.168.122.170 port 80 (#0) * Trying 192.168.

Re: Validating client certificate against CRL

2015-03-12 Thread nathanmesser
We're in a similiar situation, but with many intermediate CAs and root CAs for all the possible client certificates we accept. We have all of these concatenated into a single file for the ssl_client_certificate directive. We have CRLs for some of these and not for others. Is there any way we conf

Re: 3:unable to get certificate CRL

2015-03-12 Thread Maxim Dounin
Hello! On Thu, Mar 12, 2015 at 04:25:08PM +, Janet Valbuena wrote: > Hi Nginx Team > > I'm having problems configuring NGINX to use a CRL. > > I've created the CRL using OpenSSL 0.9.8e and my Nginx version is 1.4.1. > > I'm using a self-signed certificate and an intermediate certificate. >

3:unable to get certificate CRL

2015-03-12 Thread Janet Valbuena
Hi Nginx Team I'm having problems configuring NGINX to use a CRL. I've created the CRL using OpenSSL 0.9.8e and my Nginx version is 1.4.1. I'm using a self-signed certificate and an intermediate certificate. The lines for the SSL in my config are: server { > listen 10446 ssl; > >

Re: NGINX and mod_log_sql

2015-03-12 Thread Fabián M Sales
Thanks for your Reply Y solved this issue. With this URL: https://github.com/tommybotten/mod_log_sql/commit/23e52d480edcd8406f0338c6a64167a3298985d1 Regards. Fabián M. Sales. On 10/03/15 13:50, Daniël Mostertman wrote: > Hi Fabián, > > You most likely put nginx in front of Apache. > If that's

Re: Verify Content-Length matches request body

2015-03-12 Thread Max Rothman
Thank you! That makes a lot of sense. On Thu, Mar 12, 2015 at 11:15 AM, Maxim Dounin wrote: > Hello! > > On Thu, Mar 12, 2015 at 11:01:46AM -0400, Max Rothman wrote: > > > Is there a way for nginx to verify that the Content-Length header isn't > > exceeded by the actual size of the request body?

Re: Verify Content-Length matches request body

2015-03-12 Thread Maxim Dounin
Hello! On Thu, Mar 12, 2015 at 11:01:46AM -0400, Max Rothman wrote: > Is there a way for nginx to verify that the Content-Length header isn't > exceeded by the actual size of the request body? This can't happen. Anything after the Content-Length is a next request. > Context: I'm working on an

Verify Content-Length matches request body

2015-03-12 Thread Max Rothman
Hi, Is there a way for nginx to verify that the Content-Length header isn't exceeded by the actual size of the request body? Context: I'm working on an upload endpoint with a maximum upload size, and it seems that client_max_body_size only checks the Content-Length header, not the actual body. Ad

Re: map with two variables

2015-03-12 Thread Dmitry Pryadko
it would be easier to define server_name with regexp and use match groups server { server_name ~ ^(?\w+)\.(?\w+)\.(?\w+)$; set $graphite_host "${a}_${b}_${c}"; } 09.03.15 18:36, Matthias Rieber пишет: Hi, I'd like to set a variable to the value of $host where the dots are replaced by unde

Re: Echo sub request not working

2015-03-12 Thread AmitChauhan
When I say both the servers running on my local machine it means servers running on localhost:8080 and localhost:8090. Both are java tomcat servers. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257211,257213#msg-257213 ___ nginx mailing lis

Echo sub request not working

2015-03-12 Thread AmitChauhan
Hi, I am new to Nginx, so know very little about it. My requirement is I need to make a service call but along with proxy passing that request, I need to make call to another service/servlet. For this I decided to use Echo module to use the echo_subrequest_async option. However the subrequest is

Re: Internal Server Error messages nginx proxy POP/IMAP/SMTP

2015-03-12 Thread Francis Daly
On Wed, Mar 11, 2015 at 07:24:17PM -0400, dominus.ceo wrote: Hi there, > Actually already did that, and i got the next answere: > > [root@proxy-n1 ~]# curl -H "Auth-Method: plain" \ > > -H "Auth-User: ricardo.carrillo" \ > > -H "Auth-Pass: r3dh4t" \ > > -H "Auth-Protocol: imap" \ > > -H "Auth-Lo