Skip to content

Commit f618d34

Browse files
author
António P. P. Almeida
committed
* Added missing php-fpm pool status upstreams.
1 parent 38ba0d9 commit f618d34

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

upstream_phpcgi_tcp.conf

+11
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,14 @@ upstream phpcgi_backup {
3535
keepalive 1;
3636
}
3737

38+
## The upstreams below are used only for monitoring php-fpm status,
39+
40+
## The PHP TCP upstream that corresponds to the first pool: www0.
41+
upstream www0 {
42+
server 127.0.0.1:9001;
43+
}
44+
45+
## The PHP TCP upstream that corresponds to the second pool: www1.
46+
upstream www1 {
47+
server 127.0.0.1:9002;
48+
}

upstream_phpcgi_unix.conf

+11
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,14 @@ upstream phpcgi_backup {
3535
keepalive 1;
3636
}
3737

38+
## The upstreams below are used only for monitoring php-fpm status,
39+
40+
## The PHP TCP upstream that corresponds to the first pool: www0.
41+
upstream www0 {
42+
server unix:/var/run/php-fpm.sock;
43+
}
44+
45+
## The PHP TCP upstream that corresponds to the second pool: www1.
46+
upstream www1 {
47+
server unix:/var/run/php-fpm-zwei.sock;;
48+
}

0 commit comments

Comments
 (0)