HTF asked:
I came across this this topic and I’m wondering if there is an option/variable for the fastcgi_pass
directive to define different unix domain sockets i.e.: fastcgi_pass unix:/var/run/php-fpm/www.sock;
would be something like: fastcgi_pass unix:/var/run/php-fpm/$fastcgi_socket;
?
My answer:
There’s no pre-existing variable, no. But you can use whatever socket you need to use, so long as the socket file exists, and php-fpm is configured to use it.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.