nginx proxy for syncml

2014-04-22 Thread itpp2012
Next to imap and other specific buildin nginx proxies could any of them be compatible with syncml ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249462,249462#msg-249462 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

Re: using ssl_crl with CRLs (plural)

2014-04-22 Thread Maxim Dounin
Hello! On Tue, Apr 22, 2014 at 06:13:54PM +0200, Florian Le Goff wrote: > Hi there, > > I am trying to setup a x509 client cert check with Nginx. Everything > is running smoothly until I add the ssl_crl directive. > > Unfortunately, my CA happens to release its CRLs under several > files... for

using ssl_crl with CRLs (plural)

2014-04-22 Thread Florian Le Goff
Hi there, I am trying to setup a x509 client cert check with Nginx. Everything is running smoothly until I add the ssl_crl directive. Unfortunately, my CA happens to release its CRLs under several files... for historic reasons from what I heard. With Apache/mod_ssl; the SSLCARevocationFile direc

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread Valentin V. Bartenev
On Tuesday 22 April 2014 15:53:27 shahzaib shahzaib wrote: > Mex, That's a high amount of reduction in load-avg than :). Could you > please refer me to some guide to start with nginx-cache ? And also it's > drawbacks if i put the wrong configs ? > http://nginx.com/resources/admin-guide/caching

Re: X-Real-Proto ?

2014-04-22 Thread etienne . champetier
hi - Mail original - > De: "Igor Sysoev" > À: nginx@nginx.org > Envoyé: Lundi 21 Avril 2014 13:56:41 > Objet: Re: X-Real-Proto ? > > On Apr 21, 2014, at 15:47 , Igor Sysoev wrote: > > > On Apr 21, 2014, at 15:03 , etienne.champet...@free.fr wrote: > > > >> Hi, > >> > >> There is ngx_h

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread Raul Hugo
Shahzaib, you have a different server for the static content like the videos? I'm talking about AWS cloudfront or something like that.. 2014-04-22 7:05 GMT-05:00 mex : > PONG > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,249437,249450#msg-249450 > > ___

Re: _GET parameters with question and ampersand

2014-04-22 Thread arnas
I was able to solve it with correct arguments passing location / { try_files $uri $uri$is_args$args /index.php?subdomain=$subdomain&content=$uri&$args; } Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249267,249454#msg-249454 __

Re: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Joydeep Bakshi
Dear all, Problem Solved. Here is the steps required to fix it on opensuse 13.1 varnish listen to port 80 as default in opensuse and there is no port 6081 . Hence /etc/sysconfig/varnish has to be edited to add "-a :6081" like below VARNISHD_PARAMS="-f /etc/varnish/vcl.conf -a:6081 -T:6082 -s

Re: _GET parameters with question and ampersand

2014-04-22 Thread arnas
Ping? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249267,249452#msg-249452 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread mex
PONG Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249437,249450#msg-249450 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread mex
depending on your setup you might think about serving static content and videos directly from nginx: http://www.nginxtips.com/optimizing-nginx-for-video-sites/ anything served directly from nginx, not going to apache will boost your performance. > Mex, That's a high amount of reduction in load

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread shahzaib shahzaib
Mex, That's a high amount of reduction in load-avg than :). Could you please refer me to some guide to start with nginx-cache ? And also it's drawbacks if i put the wrong configs ? As we're handling 18000 visitors concurrently on cluster of 5 webservers, which makes it 3600 concurrent users per se

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread mex
if the content is cacheable, using varnish or nginx-cache will definetely reduce load. we have a similar setup (nginx infront of apache+php) with an average of 5000 requests/second, and using nginx-cache with a cache-time of 1 minute reduced load from around 8 to 0.5 on the apache-servers, while

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread Rainer Duffner
Am Tue, 22 Apr 2014 15:21:09 +0500 schrieb shahzaib shahzaib : > Thanks for quick response, well our website is related to video > streaming just like youtube. Could you provide me some guide to learn > varnish for start-up ? > > Any suggestions will be highly appreciated. > > Shahzaib Do you

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread shahzaib shahzaib
>>If your content is cachable and you don't require varnish's cache-invalidation features, you could use nginx's proxy-caching features. Well, i want to cache application means, dynamic php pages. Will that be OK with nginx ? On Tue, Apr 22, 2014 at 3:21 PM, shahzaib shahzaib wrote: > Thanks fo

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread shahzaib shahzaib
Thanks for quick response, well our website is related to video streaming just like youtube. Could you provide me some guide to learn varnish for start-up ? Any suggestions will be highly appreciated. Shahzaib On Tue, Apr 22, 2014 at 3:17 PM, Rainer Duffner wrote: > Am Tue, 22 Apr 2014 14:39:5

Re: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Maxim Dounin
Hello! On Tue, Apr 22, 2014 at 03:30:37PM +0530, Joydeep Bakshi wrote: > @Lukas - attached is the cap file > > @Maxim - after starting varnish only the following port comes up > > # netstat -nat | grep 60 > tcp0 0 0.0.0.0:60820.0.0.0:* LISTEN > tcp

RE: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Lukas Tribus
> @Lukas - attached is the cap file  The request is bogus, imho. A GET request should not contain a body, it doesn't makes sense. > @Maxim - after starting varnish only the following port comes up  >  > # netstat -nat | grep 60  > tcp 0 0 0.0.0.0:6082  > 0.0.0.0:* LISTEN  >

Re: High traffic on Nginx-Webservers !!

2014-04-22 Thread Rainer Duffner
Am Tue, 22 Apr 2014 14:39:53 +0500 schrieb shahzaib shahzaib : > Hello, > >We're using the cluster of 5 webservers using nginx (reverse > proxy) > + apache to handle php requests. Our web-servers are constantly high > with load-avg of 2.0~3.0. I have seen people using varnish between > ng

Re: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Joydeep Bakshi
@Lukas - attached is the cap file @Maxim - after starting varnish only the following port comes up # netstat -nat | grep 60 tcp0 0 0.0.0.0:60820.0.0.0:* LISTEN tcp0 0 :::6082 :::*LISTEN On Tue, Apr 22, 2014

High traffic on Nginx-Webservers !!

2014-04-22 Thread shahzaib shahzaib
Hello, We're using the cluster of 5 webservers using nginx (reverse proxy) + apache to handle php requests. Our web-servers are constantly high with load-avg of 2.0~3.0. I have seen people using varnish between nginx + apache. Could someone guide me if installing Nginx > Varnish > apache wi

Re: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Maxim Dounin
Hello! On Tue, Apr 22, 2014 at 12:55:07PM +0530, Joydeep Bakshi wrote: > Hello all, > > My setting works well through nginx->apache but not through > nginx->varnish->apache > > apache is configured to listen to port 8080 . when nginx uses > > proxy_pass http://127.0.0.1:8080 > > the sites ar

RE: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Lukas Tribus
> Thanks Lukas, > > here are the O/P Please post the capture file. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Joydeep Bakshi
Thanks Lukas, here are the O/P 324ò241^B^@^D^@^@^@^@^@^@^@^@^@377377^@^@^A^@^@^@N/VS}D^K^@B^@^@^@B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^H^@E^@^@4212277@ ^@@^F262^B^?^@^@^A^?^@^@^A 244377^W302^\241262N^@^@^@^@200ª252376(^@^@^B^D377327^A^A^D^B^A^C^C^GN/VS221D^K^@B^@^@^@B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^H^@E

RE: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Lukas Tribus
> Hello Lukas, > > I have just checked and found nothing > > # tcpdump -vv port 6082 > tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size > 65535 bytes Fix your capture. - capture the traffic on loopback, not eth0 - don't truncate packets (-s 0) - write in a cap file, tc

Re: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Joydeep Bakshi
Hello Lukas, I have just checked and found nothing # tcpdump -vv port 6082 tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes On Tue, Apr 22, 2014 at 1:39 PM, Lukas Tribus wrote: > > Hello all, > > > > My setting works well through nginx->apache but not th

RE: nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Lukas Tribus
> Hello all,  >  > My setting works well through nginx->apache but not through  > nginx->varnish->apache  >  > apache is configured to listen to port 8080 . when nginx uses  >  > proxy_pass http://127.0.0.1:8080  >  > the sites are running fine.  >  > If I introduce varnish after nginx by [proxy_pa

nginx reports [upstream sent no valid HTTP/1.0 header] when used with varnish

2014-04-22 Thread Joydeep Bakshi
Hello all, My setting works well through nginx->apache but not through nginx->varnish->apache apache is configured to listen to port 8080 . when nginx uses proxy_pass http://127.0.0.1:8080 the sites are running fine. If I introduce varnish after nginx by [proxy_pass http://127.0.0.1:6082]