Fix WordOps backend php upstream
This commit is contained in:
@@ -42,7 +42,7 @@ server {
|
|||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_pass php72;
|
fastcgi_pass multiphp;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /netdata {
|
location /netdata {
|
||||||
|
|||||||
@@ -104,3 +104,14 @@ upstream redis {
|
|||||||
server 127.0.0.1:6379;
|
server 127.0.0.1:6379;
|
||||||
keepalive 10;
|
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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user