Hi
i would like to execute some lua code (very simple script) only on status code 200
But the internal value of nginx $status variable is always 000
location / {
root /usr/local/nginx-streaming/html;
set $bar $status;
add_header X-Whomx $bar;
}
Does anyone know how to get correct status code.
BR
i would like to execute some lua code (very simple script) only on status code 200
But the internal value of nginx $status variable is always 000
location / {
root /usr/local/nginx-streaming/html;
set $bar $status;
add_header X-Whomx $bar;
}
Does anyone know how to get correct status code.
BR