32 lines
486 B
Plaintext
32 lines
486 B
Plaintext
# Common upstream settings
|
|
upstream php {
|
|
server 127.0.0.1:9000;
|
|
}
|
|
upstream debug {
|
|
# Debug Pool
|
|
server 127.0.0.1:9100;
|
|
}
|
|
upstream php72 {
|
|
server unix:/var/run/php/php72-fpm.sock;
|
|
}
|
|
upstream php73 {
|
|
server unix:/var/run/php/php73-fpm.sock;
|
|
}
|
|
{{#php7conf}}
|
|
upstream php7 {
|
|
server 127.0.0.1:9070;
|
|
}
|
|
upstream debug7 {
|
|
# Debug Pool
|
|
server 127.0.0.1:9170;
|
|
}
|
|
{{/php7conf}}
|
|
|
|
{{#hhvmconf}}
|
|
upstream hhvm {
|
|
# HHVM Pool
|
|
server 127.0.0.1:{{hhvm}};
|
|
server 127.0.0.1:{{php}} backup;
|
|
}
|
|
{{/hhvmconf}}
|