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 can't figure out a solution that will allow me to toggle / switch between a On and Off fastcgi background update state. What ever way or methods can be used with Lua especially I would be extremely grateful for help with thanks everyone :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279603,279603#msg-279603 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx