Страница 1 из 1
Need help to Setup NGINX Internal Load Balancing + PHP-FPM Upstream
Добавлено: Вс окт 24, 2021 11:08 am
vvtubeadmin
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
Добавлено: Вс окт 24, 2021 6:41 pm
sbury
Install additional plug-in:
Код: Выделить всё
yum clean all
yum install nginx-ngx-http-combined-upstreams
Re: Need help to Setup NGINX Internal Load Balancing + PHP-FPM Upstream
Добавлено: Пн окт 25, 2021 7:36 pm
vvtubeadmin
sbury писал(а): ↑Вс окт 24, 2021 6:41 pm
Install additional plug-in:
Код: Выделить всё
yum clean all
yum install nginx-ngx-http-combined-upstreams
This is done already
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