Re: Nginx fastcgi_cache_background_update Issue/Question

2018-04-27 Thread Maxim Dounin
Hello! On Thu, Apr 26, 2018 at 04:56:57PM -0400, c0nw0nk wrote: > http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_background_update > > > How can I switch between an On and a Off version of this function within a > Nginx server { > > > set $var 1; > > if ($var) { > f

Nginx fastcgi_cache_background_update Issue/Question

2018-04-26 Thread c0nw0nk
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_background_update How can I switch between an On and a Off version of this function within a Nginx server { set $var 1; if ($var) { fastcgi_cache_background_update On; } Is there a way to do this even with Nginx + Lua i