Re: SSL on/off on same port and IP

2015-07-03 Thread Maxim Dounin
Hello! On Tue, Jun 23, 2015 at 04:43:23PM +0200, Ingo Lafrenz wrote: > Hi, > > consider the following very simple nginx config: > http { > server { > listen 127.0.0.1:123; > server_name abc; > } > server { > listen 127.0.0.1:123 ssl; > server_name xyz;

DNS cache in nginx

2015-07-03 Thread Shay Peretz
Hello , I have an A record which resolve to 2 CNAME's , the DNS failover will make the switch if something go wrong . The problem is that after a change the nginx stick to the OLD IP unless I reload it .. any way the Caching can be disabled ? I tried the following with no success : add valid for

Re: High load due to reload

2015-07-03 Thread Maxim Dounin
Hello! On Tue, Jun 23, 2015 at 11:14:44AM +0200, 5hosting GmbH wrote: > I have a small problem with a nginx system that acts as a loadbalancing > proxy. We do have lots of vhosts and ssl certificates and each time we do a > /etc/init.d/nginx reload, the load of our server goes up to 20 due to > s

Re: trac.nginx.org incorrect https

2015-07-03 Thread Edho Arief
On Sat, Jul 4, 2015 at 2:48 PM, Maxim Dounin wrote: > Hello! > > On Thu, Jun 25, 2015 at 06:16:42PM +0900, Edho Arief wrote: > >> I noticed that trac.nginx.org has https/SNI configured for the host >> but no actual ssl configuration (how do you even do that): > > The trac.nginx.org domain isn't av

Re: trac.nginx.org incorrect https

2015-07-03 Thread Maxim Dounin
Hello! On Thu, Jun 25, 2015 at 06:16:42PM +0900, Edho Arief wrote: > I noticed that trac.nginx.org has https/SNI configured for the host > but no actual ssl configuration (how do you even do that): The trac.nginx.org domain isn't available via https. The IP address trac.nginx.org maps to does h

Re: websocket causes "client sent invalid method ..."

2015-07-03 Thread Maxim Dounin
Hello! On Tue, Jun 30, 2015 at 11:08:36PM -0400, snagytx wrote: > Hello, > > I'm trying setup nginx for socket proxy. I was able to find that nginx can > be configured to proxy websockets and added an error log file in the server > configuration block to isolate the messages, and I get: > > cli

Re: nginx-1.9.2 + ssl + spdy segfault

2015-07-03 Thread Maxim Dounin
Hello! On Wed, Jul 01, 2015 at 07:28:59AM -0400, kirimedia wrote: > Segfault in nginx-1.9.2 with ssl and spdy module > > # nginx -V > nginx version: nginx/1.9.2 > built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) > built with OpenSSL 1.0.1e-fips 11 Feb 2013 > TLS SNI support enabled > configu

Re: Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-03 Thread Francis Daly
On Fri, Jul 03, 2015 at 07:04:20AM -0400, ramsoft75 wrote: Hi there, > In conclusion www.domain.com/parameters should redirect to > m.domain.com/parameters but is redirected to m.domain.com, the parameters > are clean. Is there a way no to clean it ? It works for me as-is. I add your "if" at ser

Re: uWSGI - upstream prematurely closed connection while reading response header from upstream

2015-07-03 Thread ryd994
It sounds like uwsgi setting problem. Prematurely closed connection means Nginx is not expecting that. On Fri, Jul 3, 2015, 00:45 ajjH6 wrote: > Any ideas? I just want to run a uWSGI app for more than 60 seconds? > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,259882,260022#msg-26

Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-03 Thread ramsoft75
The problem is, the site is entered with www in url in a mobile device with parameters in the url, it is redirected from www.domain.com to m.domain.com but the parameters entered with www.domain.com/parameters when redirected to m.domain.com doesn't receive the parameters from thr url origin in www

[ANN] OpenResty 1.7.10.2 released

2015-07-03 Thread Yichun Zhang (agentzh)
Hi folks! I am pleased to announce the new formal release, 1.7.10.2, of the OpenResty bundle: https://openresty.org/#Download We include a lot of fixes and new features accumulated in the last few months. Special thanks go to all our contributors and users for making this happen! Below is