Re: nginx add trailing slash with wrong port

2014-05-24 Thread Dustin Oprea
On May 24, 2014 2:53 PM, "luc2" wrote: > > nginx rewrites : > > > http://localhost:8081/files > > to : > > > http://localhost:81/files/ # wrong port ! > > while apache rewrites : > > > http://localhost:8082/files > > to > > > http://localhost:8082/files/ > > is it possible to configure nginx to be

Re: Pretty printer for the Nginx config?

2014-05-19 Thread Dustin Oprea
ammar. I'd love to give > him credit, but it was so long ago I can't find the original. > > That's great, @LordNynex (I'm not the OP)... Though I have to admit that memories of my days at a PERL-based transaction-processor came screeching back when I saw the code. >

Re: Pretty printer for the Nginx config?

2014-05-19 Thread Dustin Oprea
On Mon, May 19, 2014 at 7:12 PM, Lyle wrote: > It's kind of along the right lines, but I need to keep comments, etc. > Just have consistent whitespace more than anything else. > > You might write your own and make it available. Dustin > > Lyle > > > On 19/05/2014 19:59, Kurt Cancemi wrote:

Re: nginx VPS based ?

2014-05-19 Thread Dustin Oprea
On May 19, 2014 7:38 AM, "BONNET, Frank" wrote: > > Hello > > For internal purpose ( students projects ) I need to create several VPS > LAMP like but running under nginx > > It needs PHP, MYSQL + LDAP auth > > I need to have one VPS per project but running on the same nginx instance > the MYSQL se

SSL Authentication: $ssl_client_verify

2014-05-15 Thread Dustin Oprea
I have the following server configuration for client-authentication: ssl on; ssl_certificate /.../certificate.pem; ssl_certificate_key /.../private.pem; ssl_client_certificate /.../ca_cert.pem; ssl_verify_client on; ssl_verify_depth 1; It looks like I get a "Bad Reque

SSL Client Authentication

2014-05-12 Thread Dustin Oprea
I have the following *server* configuration for client-authentication: ssl on; ssl_certificate /.../deploy_api_certificate.pem; ssl_certificate_key /.../deploy_api_private.pem; ssl_client_certificate /.../ca_cert.pem; ssl_verify_client on; ssl_verify_depth 1; It look