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: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready