Fix WordOps backend php upstream

This commit is contained in:
VirtuBox
2020-05-14 13:06:02 +02:00
parent 0d0e39d5a0
commit 834279a32f
2 changed files with 12 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ server {
location ~ \.php$ {
try_files $uri =404;
include fastcgi_params;
fastcgi_pass php72;
fastcgi_pass multiphp;
}
location /netdata {

View File

@@ -104,3 +104,14 @@ upstream redis {
server 127.0.0.1:6379;
keepalive 10;
}
#-------------------------------
# Multi PHP
#-------------------------------
# Multi PHP upstream for WordOps backend
upstream multiphp {
server unix:/var/run/php/php73-fpm.sock;
server unix:/var/run/php/php74-fpm.sock;
server unix:/var/run/php/php72-fpm.sock;
}