This seems to work;
location / {
set $keepalive_timeout '';
root html;
[...]
set_by_lua $notused '
ngx.var.keepalive_timeout = ngx.var.kealtime;
';
}
location / {
set $keepalive_timeout '';
root html;
[...]
set_by_lua $notused '
ngx.var.keepalive_timeout = ngx.var.kealtime;
';
}