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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e5a8-2c413.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e5a8-2c413.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?