Nginx can not get through when configuring load balancer locally, so he is in a hurry and hopes Daniel will come to the rescue.

nginx port 80 apache port 8888, load balancer set by fastcgi_pass

clipboard.png

clipboard.png

Mar.22,2021

try this

location ~ .*\.php$ {
    ...
}

8888 is the port of Apache, and 9000 is the port of PHP. How can you be a load balancer? Upstream should configure two Apache, and then the following location does not use fastcgi_pass, but uses proxy_pass

Menu