April 26, 2018 04:56PM
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 :)

http://www.networkflare.com/
Subject Author Posted

Nginx fastcgi_cache_background_update Issue/Question

c0nw0nk April 26, 2018 04:56PM

Re: Nginx fastcgi_cache_background_update Issue/Question

Maxim Dounin April 27, 2018 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 239
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready