Re: HTTP/405

2017-08-04 Thread Valentin V. Bartenev
On Friday 04 August 2017 09:42:42 Frank Liu wrote: > Valentin, > > I checked the trac and basically it says very complicated to properly > implement. When I try the same curl against apache.org, they just return a > blank Allow header to compliant RFC. Maybe nginx can do the same? > [..] Why sho

Re: HTTP/405

2017-08-04 Thread Frank Liu
Valentin, I checked the trac and basically it says very complicated to properly implement. When I try the same curl against apache.org, they just return a blank Allow header to compliant RFC. Maybe nginx can do the same? curl -v -X TRACE http://apache.org * Rebuilt URL to: http://apache.org/ *

Re: HTTP/405

2017-08-04 Thread Frank Liu
B.R. If you read my original post carefully, you will see the test was against http://nginx.org and I certainly don't have their configuration, but you can run the same curl test against your own nginx server and get the same result. On Fri, Aug 4, 2017 at 3:46 AM, B.R. via nginx wrote: > How wa

Re: SSL Multiple Vhost Overlapping common name [CN]

2017-08-04 Thread Joshua Cooley
You'll need to pass the servername parameter for openssl s_client to pass the SNI, e.g. openssl s_client -servername s4.yourdomain.com -connect s4.yourdomain.com:443 On Aug 4, 2017 8:55 AM, "shahzaib mushtaq" wrote: Hi, Our Nginx server is configured with two different domain SSL certificates

SSL Multiple Vhost Overlapping common name [CN]

2017-08-04 Thread shahzaib mushtaq
Hi, Our Nginx server is configured with two different domain SSL certificates configured on same ip ; *.mydomain.com *.yourdomain.com (Renewed) We've configured both these certificates vhosts in /usr/local/etc/nginx/vhosts/ directory. After installing certificate we tested it with sslshopper and

Re: Multiple certificates in one server block?

2017-08-04 Thread Olaf van der Spek
Jim Ohlstein Wrote: > Letsencrypt allows multiple domain names in the same certificate. I know, just wondering if nginx supported multiple certs per server. My problem: I've got multiple servers and I'd like the servers to be accessible via the common name (ex.com) and via their dedicated name (a

Re: Multiple certificates in one server block?

2017-08-04 Thread Jeff Dyke
Jim is correct, letsencrypt supports that wow, sorry for trying to help, that was a bit caustic, that information would be helpful in the original question. Enjoy the weekend. On Fri, Aug 4, 2017 at 9:40 AM, Jim Ohlstein wrote: > Hello, > > On 08/04/2017 09:36 AM, Olaf van der Spek wrote: >

Re: Multiple certificates in one server block?

2017-08-04 Thread Jim Ohlstein
Hello, On 08/04/2017 09:36 AM, Olaf van der Spek wrote: > I'm using letsencrypt and have multiple certs with a single name in them.. > If I had one cert with multiple names we'd not be having this problem. > Letsencrypt allows multiple domain names in the same certificate. As for nginx, it allo

Re: Multiple certificates in one server block?

2017-08-04 Thread Olaf van der Spek
I'm using letsencrypt and have multiple certs with a single name in them.. If I had one cert with multiple names we'd not be having this problem. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275855,275858#msg-275858 ___ nginx mailing list

Re: Multiple certificates in one server block?

2017-08-04 Thread Jeff Dyke
i assume you have some sort of UCC certificate, if so you should be able to use it with multiple server_names, but have multiple ssl_certificates in a single server block is a limitation of nginx from what i understand. Most relavant information is here: https://nginx.org/en/docs/http/ngx_http_ssl

Multiple certificates in one server block?

2017-08-04 Thread Olaf van der Spek
How do I set multiple certificates (for different names) in a single server block? I can easily set multiple server_names but there seems no way to set multiple certificates.. Is the only way to have all names in a single certificate? If so, is this an nginx, an openssl or a TLS limitation? Posted

Re: ERR_SPDY_PROTOCOL_ERROR Nginx !!

2017-08-04 Thread shahzaib mushtaq
Hi, Guys is there anything i am missing with SSL for multiple vhosts due to which the vhost Order is overlapping the other one ? Shahzaib On Fri, Aug 4, 2017 at 2:12 AM, shahzaib mushtaq wrote: > I've noticed that its related to the orders of virtual host files. For > example if vhost of mydom

Re: 答复: 答复: Building Nginx from source for Windows

2017-08-04 Thread David Woodstuck
I followed instruction on http://nginx.org/en/docs/howto_build_on_win32.html. Once I run "nmake -f objs/Makefile", I got the following error: $ nmake -f objs/Makefile Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved.

Re: HTTP/405

2017-08-04 Thread Valentin V. Bartenev
On Thursday 03 August 2017 22:28:41 Frank Liu wrote: > https://tools.ietf.org/html/rfc7231#page-59 says: > > ... The origin server MUST generate an >Allow header field in a 405 response containing a list of the target >resource's currently supported methods. > > nginx doesn't seem to have

Re: HTTP/405

2017-08-04 Thread B.R. via nginx
How was that 405 generated? Show used configuration please. --- *B. R.* On Fri, Aug 4, 2017 at 7:28 AM, Frank Liu wrote: > https://tools.ietf.org/html/rfc7231#page-59 says: > > ... The origin server MUST generate an >Allow header field in a 405 response containing a list of the target >r