Re: aio breaks spdy

2014-08-15 Thread Valentin V. Bartenev
On Saturday 16 August 2014 00:37:15 Richard Kearsley wrote: > Hi > I have been tracing an issue for the past couple of days and have > narrowed down the case to when spdy is being used with aio > Testing using a 1GB file download in chrome and firefox, http and https > download as normal > using

aio breaks spdy

2014-08-15 Thread Richard Kearsley
Hi I have been tracing an issue for the past couple of days and have narrowed down the case to when spdy is being used with aio Testing using a 1GB file download in chrome and firefox, http and https download as normal using spdy, only the first ~250k is downloaded and then a wait of exactly 60

Re: Problem with a reverse proxy and trailing slash redirects

2014-08-15 Thread Francis Daly
On Fri, Aug 15, 2014 at 02:33:39PM -0300, Andre Nathan wrote: Hi there, > The problem with this setup is that if one tries to access, say, > foo.tmpzone.com/blah, Nginx will issue a 301 redirect adding a trailing > slash, but the Location will be set to "www.foo.com/blah/". This seems > to be due

help debugging nginx core dump

2014-08-15 Thread pngu
Hi expert, I am running into nginx core dump issue and I need experts help in debugging.Thank you so much! we are running nginx 1.6.1 on centos 5.6 nginx version: nginx/1.6.1 built by gcc 4.1.2 20080704 (Red Hat 4.1.2-54) TLS SNI support enabled configure arguments: --prefix=/Local/ThirdPart

Disable Upstream Timeouts in Custom Module

2014-08-15 Thread Jared McIntyre
I have a custom module that is proxying an upstream TCP based server. I can manipulate the timeouts by changing the ngx_http_upstream_conf_t's read_timeout and send_timeout to increase the timeout. However, for my particular use case, it would be better if there is no artificial timeout based on

Patch against server DOS

2014-08-15 Thread double
Hello, My NGINX got a denial of service. The machine proxied large files using "proxy_store". Someone was creating an artifical request for a rarely used file, causing NGINX to download a big file from upstream, then he immediately closed the connection. NGINX continued to download this file. Then

Problem with a reverse proxy and trailing slash redirects

2014-08-15 Thread Andre Nathan
Hello We have a service for our customers that allows them to test their site before they point their DNS to our servers. It works like this: we configure their websites in our backend servers as usual, and we create an entry in a zone we own. Say the customer's site is www.foo.com; we give him a

Re: [resolved]'auto'rewrite link to a folder

2014-08-15 Thread Pascale Camille
thanks to all, 'perhaps' i solved my problem by adding in my DNS record: * CNAME 14440 2maxi.com and i used a script to create subdomain from tuxlite.com of course i'd preferred to understand what it did but no time to, site down for 4 monthes... -- Posted via http://www.ruby-forum.com/.

Re: Regarding proxy_next_upstream parameter

2014-08-15 Thread Roman Arutyunyan
On 10 Aug 2014, at 21:27, Pankaj Kaushik wrote: > Hi, > > I am trying to do failover as per below configuration :- > > upstream backend { > hash $key2 consistent; > server 10.0.0.22:8080; > server 10.0.0.23:8080; > server 10.0.0.2

Re: could not find "/usr/local/nginx" after yum install nginx

2014-08-15 Thread smallfish
You can query the files in `nginx` rpm package, example: $ rpm -qa | grep nginx nginx-x.x.x $ rpm -ql nginx-x.x.x # blablabla -- smallfish http://chenxiaoyu.org On Fri, Aug 15, 2014 at 5:05 PM, 756323342 wrote: > hello,i'm new to nginx. > i'm using "yum" to install nginx.i followed the > ins

could not find "/usr/local/nginx" after yum install nginx

2014-08-15 Thread 756323342
hello,i'm new to nginx. i'm using "yum" to install nginx.i followed the instruction(http://wiki.nginx.org/Install),and added repository for nginx. After i finished it,i can't find this directory(/usr/local/nginx).but in the page(http://wiki.nginx.org/InstallOptions),it tells me that "/usr/local/ngi

Re: 'auto'rewrite link to a folder

2014-08-15 Thread bodomic
I think your current config is too complicated now so that your regular expressions do not do what you think they should. Try a separate server setup in this manner: server { listen 80 default; server_name .example.com; set $project www; set $user www-data;