How to combine text and variables in fastcgi_param?

2014-02-23 Thread naxa
Hello there dear nginx people, I am a beginner in nginx and also to mailing lists. :) Once read the docs I can't say I am sure I remember all the important parts so please excuse me if I am asking something silly. I'm having trouble with using the `value` part `fastcgi_param` of ngx_http_fastcgi.

Re: How to combine text and variables in fastcgi_param?

2014-02-23 Thread Maxim Dounin
Hello! On Sun, Feb 23, 2014 at 01:59:39PM +0100, naxa wrote: > Hello there dear nginx people, > > I am a beginner in nginx and also to mailing lists. :) Once read the > docs I can't say I am sure I remember all the important parts so please > excuse me if I am asking something silly. I'm having

Re: fastcgi caching

2014-02-23 Thread Maxim Dounin
Hello! On Fri, Feb 21, 2014 at 12:00:47PM -0800, Grant wrote: > I'm using the following config to cache only /piwik/piwik.php: > > fastcgi_cache_path /var/cache/php-fpm levels=1:2 keys_zone=piwik:10m; > > fastcgi_cache_key "$scheme$request_method$host$request_uri"; > > location /piwik/piwik.ph

newbie help - unknown directive memc_pass

2014-02-23 Thread vikingboy
I'm a newbie to unix and nginx so please be gentle :) I'm starting to pull my hair out a bit now so figured I'd ask for some pointers. Im trying to build a nginx version which includes memc functionality but I can't for the life of me figure out what I'm missing as memc_pass is always reported as

Re: newbie help - unknown directive memc_pass

2014-02-23 Thread Yichun Zhang (agentzh)
Hello! On Sun, Feb 23, 2014 at 9:40 AM, vikingboy wrote: > but still get the error when trying to restart nginx. > > 2014/02/23 17:20:59 [emerg] 31056#0: unknown directive "memc_pass" in > /etc/nginx/sites-enabled/irj972.co.uk:55 > One common cause is that your nginx startup script invokes a diff

Re: newbie help - unknown directive memc_pass

2014-02-23 Thread vikingboy
it does look like there are some fundamental config issues causing problems. After I posted I spun up a clean VPS and installed openresty with memc support in about 15 minutes so can confirm my problem its somehow related to updating my primary machine setup. Thanks for your pointers and info, your

[ANN] sticky-nginx-module forked and extended

2014-02-23 Thread mex
Hi List, i'm proud to announce the comeback of the nginx-sticky-module. i included a patch by markus linnala to mark route-cookies httponly/secure and put the modified version online: https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng i'll keep care of this module and test for compatib