ssl hand shake with upstream url

2014-09-17 Thread thunder hill
Hi, I am getting ssl hand shake error. upstream server is running on 443 port. Enabled the debug in nginx. And the configuration is as follows. upstream backends { server xyz.elb.amazonaws.com:443; } server { listen 80; server_name xyz-.elb.amazonaws.com; locat

Re: Response header from fcgi server

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 05:42:18PM +0300, wishmaster wrote: > > What two requests would lead to upstream sending content with a different > > language? Use whatever is different in those requests in your cache key. > > At this time cache key uses $cookie_language, this works as expected. But I

Re: 2 certs, 1 domain, 1 IP

2014-09-17 Thread shm...@riseup.net
it works with postfix i guess not in nginx feature request ? nginx: [emerg] "ssl_certificate" directive is duplicate in /etc/nginx.conf:53 nginx: configuration file /etc/nginx.conf test failed shm...@riseup.net wrote: > is it possible with SNI and nginx to have both an ECDSA and RSA cert > servin

Re[2]: Response header from fcgi server

2014-09-17 Thread wishmaster
--- Original message --- From: "Francis Daly" Date: 17 September 2014, 17:29:43 > On Wed, Sep 17, 2014 at 05:22:14PM +0300, wishmaster wrote: > > Hi there, > > > My problem is still actual. > > I am attempting to use http header from fastcgi server as part of cache key. > > $upstream

Re: Response header from fcgi server

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 05:22:14PM +0300, wishmaster wrote: Hi there, > My problem is still actual. > I am attempting to use http header from fastcgi server as part of cache key. > $upstream_http_x_language contains value, but empty in cache key How should that work? A request comes in to

Re[3]: Response header from fcgi server

2014-09-17 Thread wishmaster
--- Original message --- From: "wishmaster" Date: 17 September 2014, 10:21:03 > > > > --- Original message --- > From: "Francis Daly" > Date: 17 September 2014, 10:06:47 > > > > > On Wed, Sep 17, 2014 at 08:49:36AM +0300, wishmaster wrote: > > > > Hi there, > > > > > PHP-appli

Re: zero size buf in output !!

2014-09-17 Thread shahzaib shahzaib
Well, i again received the same error but its much improvement in time frame. If the error was occurring after each 5min, now the same error is occurring after 30~50min. The conclusion is, nginx-1.7.4 is not 100% bug free from this issue. 2014/09/17 17:22:48 [alert] 28559#0: *27961 zero size buf

Re: zero size buf in output !!

2014-09-17 Thread shahzaib shahzaib
Hi Maxim, Upgraded nginx to 1.7.4 and looks like the issue is gone. Regards. Shahzaib On Wed, Aug 27, 2014 at 10:16 PM, Maxim Dounin wrote: > Hello! > > On Wed, Aug 27, 2014 at 08:48:19PM +0500, shahzaib shahzaib wrote: > > > We're facing following error on edge server with nginx-1.6.1,

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

2014-09-17 Thread antoniofernandez
Hi Edho, That´s it , exactly my problem. Thanks a lot, Regards, Antonio Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253207,253336#msg-253336 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

2014-09-17 Thread antoniofernandez
Hi Francis, thanks for the reply. The problem was just a misundertanding between the NTFS filesystem and EXT3 in Linux. The index.php file is a symbolink link, but Windows don´t recognize symbolik links, that´s explains the different behaviour. Regards, Antonio Posted at Nginx Forum: http://fo

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

2014-09-17 Thread Edho Arief
> On Fri, Sep 12, 2014 at 04:37:24AM -0400, antoniofernandez wrote: > > Hi there, > >> I have two index.php files : >> >> /public/index.php >> /index.php >> >> >> The content of /index.php file is : >> >> - content - >> ./public/index.php >> -

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

2014-09-17 Thread Francis Daly
On Fri, Sep 12, 2014 at 04:37:24AM -0400, antoniofernandez wrote: Hi there, > I have two index.php files : > > /public/index.php > /index.php > > > The content of /index.php file is : > > - content - > ./public/index.php > --

Re: nginx as a forward proxy (kind of)

2014-09-17 Thread Francis Daly
On Sun, Sep 14, 2014 at 12:28:30AM +0200, Sam J. wrote: Hi there, > I am very new to nginx and have a quick question. > I am using nginx to basically redirect certain websites through another > proxy. I am using DNS to resolve *.domain.com to the IP address of > nginx server. > I am able to get

Re[2]: Response header from fcgi server

2014-09-17 Thread wishmaster
--- Original message --- From: "Francis Daly" Date: 17 September 2014, 10:06:47 > On Wed, Sep 17, 2014 at 08:49:36AM +0300, wishmaster wrote: > > Hi there, > > > PHP-application sends response with HTTP header X-Language and I need pass > > this to nginx. > > With Firebug I see this

Re: trouble changing uri to query string

2014-09-17 Thread Francis Daly
On Mon, Sep 15, 2014 at 02:57:34PM +0300, Roland RoLaNd wrote: Hi there, this is all untested by me... > i have a url looking as such:   > mysite.com/some/path/rest/v2/giveit.view&user=282&imageid=23&size=80 > >  i want the cache key to match imageid=23&size=80 without the "user" part. You cou

Re: password protect site except for one page

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 11:18:43AM +1200, Steve Holdoway wrote: Hi there, > Does anyone have a nifty solution for this? The problem is that it's a > wordpress site, so just > > location / { > auth_basic "Coming soon..."; > auth_basic_user_file/etc/nginx/security/loc

Re: Response header from fcgi server

2014-09-17 Thread Francis Daly
On Wed, Sep 17, 2014 at 08:49:36AM +0300, wishmaster wrote: Hi there, > PHP-application sends response with HTTP header X-Language and I need pass > this to nginx. > With Firebug I see this header, but variable $http_x_language or > $sent_http_x_language is empty. > > What I am doing wrong?