Re: Problem with http2 huge load average

2015-11-05 Thread hristoc
Yes I know, but it's very strange situation that can't understand. Code is the same, nothing is changed. Only nginx version and http2 support on host. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262594,262629#msg-262629 ___ nginx mailing

Chrome/Firefox lost some cookie

2015-11-05 Thread huakaibird
Hi, I have one strange issue: I use nginx 1.8.0 on CentOS 7.1, found that some cookie will lost on chrome/firefox, but IE works, and one of my nginx works these nginx's configurations are same This is cookie copy from chrome, it lost _zm_sid cookie, response has the cookie (which is secure and

Re: Tuning upstream keepalive parameter

2015-11-05 Thread CJ Ess
So in this case NGINX is terminating SSL, and the upstream is HAPROXY running the same server. HAProxy applies routing rules and distributes requests to a pool of ~500 servers in round robin fashion. In this case we're most interested in keeping the connections between NGINX to HAPROXY alive. The N

Re: SEF / Friendly URL - 404 Page not found

2015-11-05 Thread Richard Stanway
All your requests for non-static content are being routed through the joomla index.php, so this is an option you'll have to look for in your joomla configuration. On Fri, Nov 6, 2015 at 2:00 AM, vmbeliz wrote: > Hi guys, > Please i need help. > i have a server with Centos 6.5 + Nginx + PHP-FPM.

SEF / Friendly URL - 404 Page not found

2015-11-05 Thread vmbeliz
Hi guys, Please i need help. i have a server with Centos 6.5 + Nginx + PHP-FPM. I use a website with joomla. I configured to use Friendly url (SEF) in joomla, and worked, but if i enter something that do not exist like www.example.com/asdasdad, so the server redirect me back to index (www.example.

Re: log_subrequest and auth_request

2015-11-05 Thread Maxim Dounin
Hello! On Mon, Nov 02, 2015 at 05:37:00PM -0500, jstangroome wrote: > Hi, > > I have set `log_subrequest on;` at the http level and I am using to > `auth_request` to a location that does a `proxy_pass` but I am not seeing > the details of the auth subrequest in the access.log. Should this work?

Re: Problem with http2 huge load average

2015-11-05 Thread Valentin V. Bartenev
On Thursday 05 November 2015 12:08:16 hristoc wrote: > No, php eat my cpu but when I enable http/2.0 support. If http2 mode is off > everything is normal, I switch back to nginx 1.9.5 and worked fine with > http2. > You should check your php code. Probably, it does something strange when it sees

Re: Problem with http2 huge load average

2015-11-05 Thread hristoc
No, php eat my cpu but when I enable http/2.0 support. If http2 mode is off everything is normal, I switch back to nginx 1.9.5 and worked fine with http2. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262594,262620#msg-262620 ___ nginx mail

Re: resolver does not seem to work with proxy_pass

2015-11-05 Thread Maxim Dounin
Hello! On Mon, Nov 02, 2015 at 09:53:31PM -0800, SpolFirst SpolMiddle SpolLast wrote: > I have setup nginx (1.9.5) as a proxy for few tomcat servers through > proxy_pass directive. The proxy_pass points to a domain name (aws route53). > The proxying works okay, but domain name is resolved only du

Re: Tuning upstream keepalive parameter

2015-11-05 Thread Maxim Dounin
Hello! On Thu, Nov 05, 2015 at 12:55:36AM -0500, CJ Ess wrote: > So I'm looking for some advice on determining an appropriate number for the > keepalive parameter within an upstream stanza. > > They server processes ~3000 requests per second, and haproxy is the single > upstream destination. Div

Re: Problem with http2 huge load average

2015-11-05 Thread Valentin V. Bartenev
On Wednesday 04 November 2015 05:08:49 hristoc wrote: > Hello, > > Im using nginx: > > nginx version: nginx/1.9.6 > built with OpenSSL 1.0.1p 9 Jul 2015 > TLS SNI support enabled > configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx > --conf-path=/etc/nginx/nginx.conf --pid-path=/var/r

RE: ignore bad conf file

2015-11-05 Thread Lukas Tribus
> Thanks Lukas! I tried configtest but with 100k files in conf.d, it > takes 3 minutes to finish, during which time there may be another file > dropped in conf.d and trigger another configtest. This sometimes causes > several config test running at the same time. > A reload on the other hand is