Почему не создается php-fpm.sock в /var/run/php-fpm/ ?
Лог var/log/nginx/error.log
[ 2017-02-24 21:06:52.6165 13657/7f7eb1fba7c0 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 13657
2017/02/24 21:07:04 [crit] 13684#13684: *1 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: xx.xx.xx.xx, server: xn----7sb4afhojdd8iq.xn--p1ai, request: "POST /handler_promotion.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "xn----7sb4afhojdd8iqa.xn--p1ai", referrer: "
xn----7sb4afhojdd8iqa.xn--p1ai"
2017/02/24 21:07:23 [crit] 13684#13684: *8 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: xx.xx.xx.xx, server: xn----7sb4afhojdd8iq.xn--p1ai, request: "POST /handler_promotion.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "xn----7sb4afhojdd8iqa.xn--p1ai", referrer: "
xn----7sb4afhojdd8iqa.xn--p1ai"
deploy@Ubuntu-1404-trusty-64-minimal:/$