Welcome! Log In Create A New Profile

Advanced

map directive gives error in fastcgi_read_timeout =

January 10, 2017 08:44AM
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?
Subject Author Posted

map directive gives error in fastcgi_read_timeout =

photographer January 10, 2017 08:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready