Hello,
I have set map
map $uri $fcgitimeouts {
default "120s";
~echo "900s";
~test "900s";
}
and
fastcgi_read_timeout $fcgitimeouts;
fastcgi_connect_timeout $fcgitimeouts;
but I have got error message
invalid number of arguments in "fastcgi_read_timeout" directive
If I set
fastcgi_read_timeout 120s;
I did not have error message.
Help me understand where I was wrong, please?