Answer the question
In order to leave comments, you need to log in
What variable values in nginx give false?
In nginx, the following construction is possible:
if ($my_var) {
...
}
Answer the question
In order to leave comments, you need to log in
https://nginx.org/ru/docs/http/ngx_http_rewrite_mo...
false values of a variable are an empty string or "0";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question