Re: Redirect to domain TTFB very slow

2014-12-30 Thread oscaretu .
Hello Can you use tools like *strace* or *sysdig* to see where the time is being lost? Greetings, Oscar On Wed, Dec 31, 2014 at 12:34 AM, ASTRAPI wrote: > Hi > > On my Nginx server i use a domain "domain.com" and i have all files here: > > /home/nginxs/domains/mydomain.com/public > > > There

Re: Redirect to domain TTFB very slow

2014-12-30 Thread Steve Holdoway
On Tue, 2014-12-30 at 20:20 -0500, ASTRAPI wrote: > http://i59.tinypic.com/20jlrpv.jpg > Looks like it's server side processing problems then. -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa __

Re: Redirect to domain TTFB very slow

2014-12-30 Thread ASTRAPI
http://i59.tinypic.com/20jlrpv.jpg Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255913,255916#msg-255916 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Redirect to domain TTFB very slow

2014-12-30 Thread ASTRAPI
Hi Thanks for your reply :) "do you mean mydomain.com forwarding to www.mydomain.com" No! I have two domains let's say domain1.com and domain2.com Both domain files are in public folder of domain1 and the domain2 is using a folder there named "gadgets" Now i was set one account for each doma

Re: Redirect to domain TTFB very slow

2014-12-30 Thread Steve Holdoway
On Tue, 2014-12-30 at 18:34 -0500, ASTRAPI wrote: > Hi > > On my Nginx server i use a domain "domain.com" and i have all files here: > > /home/nginxs/domains/mydomain.com/public > > > There i have a folder named "gadgets" and i have some files there and i use > a redirect to another domain for

Redirect to domain TTFB very slow

2014-12-30 Thread ASTRAPI
Hi On my Nginx server i use a domain "domain.com" and i have all files here: /home/nginxs/domains/mydomain.com/public There i have a folder named "gadgets" and i have some files there and i use a redirect to another domain for this folder. So if a user types seconddomain.com it goes to the fol

Re: Setting the SSL protocol used on proxy_pass?

2014-12-30 Thread Maxim Dounin
Hello! On Tue, Dec 30, 2014 at 09:44:17AM +, Edward Hibbert wrote: > I am trying to set up a reverse proxy which handles SSL. This is my first > time, so I may be doing something stupid. > > On the NGINX which is acting as a proxy I get this: > > SSL_do_handshake() failed (SSL: error:14077

Re: Error: This server's certificate chain is incomplete.

2014-12-30 Thread Peter Fraser
Ok I'm going to try to figure out which it is so I can manually remove it. However I must say that I am a new believer in nginx. Good job on an excellent piece of software. On Tue, Dec 30, 2014 at 4:28 PM, Scott Larson wrote: > Contains anchor means that you're sending the CA's root cert al

Re: Error: This server's certificate chain is incomplete.

2014-12-30 Thread Scott Larson
Contains anchor means that you're sending the CA's root cert along with the intermediates and your own, and that it's generally unnecessary to do so. *__Scott LarsonSystems AdministratorWiredrive/LA310 823 8238 ext. 1106310 943 2078 faxwww.wiredrive.com

Re: Error: This server's certificate chain is incomplete.

2014-12-30 Thread Peter Fraser
Thanks for that. I found out also that I need to export all the intermediate certs. I used this command below to export them all to a text file. openssl pkcs12 -in .pfx -out outputfile.txt -nodes. Then I manually removed the private key and used the result as the cert. It works now except that the

Re: Error: This server's certificate chain is incomplete.

2014-12-30 Thread Maxim Dounin
Hello! On Tue, Dec 30, 2014 at 02:34:26PM -0500, Peter Fraser wrote: > Hi All > I managed to get the nginx reverse proxy up and forwarding to my https web > server. > I think I have missed something though as a user just let me know that when > he tried to access the site he gets a message that t

Re: Serving files from a slow NFS storage

2014-12-30 Thread Steve Holdoway
On Tue, 2014-12-30 at 02:34 -0500, erankor2 wrote: > Thank you all for your replies. > > Since all 3 replies suggest some form of caching I'll respond to them > together here - > The nginx servers that I mentioned in my post do not serve client requests > directly, the clients always hit the CDN

Re: Error: This server's certificate chain is incomplete.

2014-12-30 Thread Scott Larson
That test should point you in some direction but you're probably missing an intermediate certificate which would normally be provided by the issuer and appended to the file containing your server certificate. *__Scott LarsonSystems AdministratorWiredrive/LA310 823 8238 ext.

Error: This server's certificate chain is incomplete.

2014-12-30 Thread Peter Fraser
Hi All I managed to get the nginx reverse proxy up and forwarding to my https web server. I think I have missed something though as a user just let me know that when he tried to access the site he gets a message that the certificate is invalid. I just did a test with ssllabs and noticed that it sh

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread Rainer Duffner
> Am 30.12.2014 um 19:53 schrieb B.R. >: > > It seems the original and preferred way to spell it is 'nginx', the one cming > from Igor. I am still wondering about capitalizing the name, but since it is > to me a personal name, I do not apply rules that would nor

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread B.R.
It seems the original and preferred way to spell it is 'nginx', the one cming from Igor. I am still wondering about capitalizing the name, but since it is to me a personal name, I do not apply rules that would normally affect common names. Thus, IMHO, I would use 'nginx' wherever it is used, with n

Re: nginx removes double slashes

2014-12-30 Thread Gregory Edigarov
On 12/29/2014 06:00 PM, Maxim Dounin wrote: Hello! On Mon, Dec 29, 2014 at 01:04:06PM +0200, Gregory Edigarov wrote: Hello everybody, perhaps I am doing something wrong: location /njs/ { rewrite /njs/(.*)$ /$1 break; proxy_redirect off;

SSL

2014-12-30 Thread Luis Vargas
I have two IIS servers with SSL certificate, and a load balancer with NGINX. I need to know if i must install a SSL certificate in the NGINX machine to? Luis Vargas Catalán SEGURIDAD Y REDES mifuturofinanciero.com Navarra 3720, Las Condes, SCL Tel: *+56 2 22282884* _

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread Jim Ohlstein
Hello, On 12/30/14 9:43 AM, Patrick Nommensen wrote: Hi Simone, When it's about the company [1] use “Nginx" and when it’s about the software use “NGINX". We’ll look to resolve present inconsistencies. [1] http://nginx.com/company/ See also http://nginx.org/ -- Jim Ohlstein "Never argue

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread Jim Ohlstein
Hello, On 12/30/14 9:43 AM, Patrick Nommensen wrote: Hi Simone, When it's about the company [1] use “Nginx" and when it’s about the software use “NGINX". We’ll look to resolve present inconsistencies. [1] http://nginx.com/company/ While I think this is much ado about nothing, I've been us

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread Patrick Nommensen
Hi Simone, When it's about the company [1] use “Nginx" and when it’s about the software use “NGINX". We’ll look to resolve present inconsistencies. [1] http://nginx.com/company/ -- Patrick Nommensen http://nginx.com > On Dec 30, 2014, at 5:17 AM, hpatoio wrote: > > Hello. I'm writing som

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread hpatoio
Good. But that questions doesn't clarify. Event if this post make sense: http://forum.nginx.org/read.php?2,234083,234085#msg-234085 -- Simone Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255874,255878#msg-255878 ___ nginx mailing list ngin

Re: How to write nginx, NGINX or Nginx ?

2014-12-30 Thread Rainer Duffner
> Am 30.12.2014 um 14:17 schrieb hpatoio >: > > Hello. I'm writing some documentation for a project that use NGINX. I'm > wondering what's the correct way to write nginx. > > a) NGINX - Always all uppercase > b) nginx - Always all lowercase. Even at the beginning of

How to write nginx, NGINX or Nginx ?

2014-12-30 Thread hpatoio
Hello. I'm writing some documentation for a project that use NGINX. I'm wondering what's the correct way to write nginx. a) NGINX - Always all uppercase b) nginx - Always all lowercase. Even at the beginning of a sentence c) Nginx - Always capitalized Is there an official way ? Thanks -- Simon

Re: How Nginx behaves with "proxy_bind" and DNS resolver with non matching ip versions between bind ip and resolved ip?

2014-12-30 Thread shmulik
Thank you. So if i understood correctly: When i bind an ipv6 address, and the resolver returns 1 ipv4 address and 1 ipv6 address - if the first attempted address is the ipv4 address, the result will be an error + sending back to the client a "500 Internal Server Error"? In such scenarios, is the

Setting the SSL protocol used on proxy_pass?

2014-12-30 Thread Edward Hibbert
I am trying to set up a reverse proxy which handles SSL. This is my first time, so I may be doing something stupid. On the NGINX which is acting as a proxy I get this: SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) while SSL handshaking to up