add load-balancing for php7.3

This commit is contained in:
VirtuBox
2019-03-20 03:21:39 +01:00
parent 02b5eebc37
commit 9c693724b5
3 changed files with 25 additions and 6 deletions

View File

@@ -50,7 +50,12 @@ server 127.0.0.1:9172;
# PHP 7.3 upstream with load-balancing on two unix sockets
upstream php73 {
least_conn;
server unix:/var/run/php/php73-fpm.sock;
server unix:/var/run/php/php73-two-fpm.sock;
keepalive 5;
}
# PHP 7.3 debug