File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -35,3 +35,14 @@ upstream phpcgi_backup {
35
35
keepalive 1;
36
36
}
37
37
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
+ }
Original file line number Diff line number Diff line change @@ -35,3 +35,14 @@ upstream phpcgi_backup {
35
35
keepalive 1;
36
36
}
37
37
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
+ }
You can’t perform that action at this time.
0 commit comments