January 10, 2017 08:44AM

I have set map

map $uri $fcgitimeouts {
default "120s";
~echo "900s";
~test "900s";


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: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready