I cannot use a variable for
fastcgi_pass directive as below
I get the following error.
2020/07/07 01:39:08 [error] 27#27: *1 no resolver defined to resolve php, client: 192.168.48.1, server: , request: "GET /info.temp.php HTTP/1.1", host: "127.0.0.3"
$image variable has a valid value and if I hard code the value instead of the variable it will start to work.
Any workaround or fix please?
The documentation states:
Parameter value can contain variables. In this case, if an address is specified as a domain name, the name is searched among the described server groups, and, if not found, is determined using a resolver.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.