Need help to Setup NGINX Internal Load Balancing + PHP-FPM Upstream
-
- Сообщения: 29
- Зарегистрирован: Пн фев 08, 2021 11:31 am
Need help to Setup NGINX Internal Load Balancing + PHP-FPM Upstream
I need to help to setup NGINX Internal Load Balancing for PHP-FPM Upstream , i think Upstream module is also missing i can not find it on Modules folder . I request to support team to help me out Please
Re: Need help to Setup NGINX Internal Load Balancing + PHP-FPM Upstream
Install additional plug-in:
Код: Выделить всё
yum clean all
yum install nginx-ngx-http-combined-upstreams
-
- Сообщения: 29
- Зарегистрирован: Пн фев 08, 2021 11:31 am
Re: Need help to Setup NGINX Internal Load Balancing + PHP-FPM Upstream
This is done alreadysbury писал(а): ↑Вс окт 24, 2021 6:41 pmInstall additional plug-in:Код: Выделить всё
yum clean all yum install nginx-ngx-http-combined-upstreams
but i need a to set this code :
==========================
upstream backend {
server unix:/var/run/php-fpm/php74w-usr.sock1 weight=100 max_fails=5 fail_timeout=5;
server unix:/var/run/php-fpm/php74w-usr.sock2 weight=100 max_fails=5 fail_timeout=5;
}
fastcgi_pass backend
==========================
i need to make change in [www] in php-fpm.d but i can not find the path for this