Files
WPIQ/wo/cli/templates/upstream.mustache

55 lines
837 B
Plaintext
Raw Normal View History

2018-11-13 21:55:59 +01:00
# Common upstream settings
2019-03-06 15:55:39 +01:00
# PHP 5.6 upstream
2018-11-13 21:55:59 +01:00
upstream php {
server 127.0.0.1:9000;
2018-11-13 21:55:59 +01:00
}
2019-03-06 15:55:39 +01:00
2018-11-13 21:55:59 +01:00
upstream debug {
# Debug Pool
server 127.0.0.1:9001;
}
2019-03-06 15:55:39 +01:00
# PHP 7.0 upstream
upstream php7 {
server 127.0.0.1:9070;
}
# PHP 7.2 upstream with load-balancing on two unix sockets
upstream php72 {
server unix:/var/run/php/php72-fpm.sock;
}
2019-03-06 15:55:39 +01:00
# PHP 7.2 debug
upstream debug72 {
# Debug Pool
server 127.0.0.1:9172;
}
# PHP 7.3 upstream with load-balancing on two unix sockets
upstream php73 {
server unix:/var/run/php/php73-fpm.sock;
2018-11-13 21:55:59 +01:00
}
2019-03-06 15:55:39 +01:00
2018-11-13 21:55:59 +01:00
{{#php7conf}}
2019-03-06 15:55:39 +01:00
# PHP 7.3 debug
upstream debug73 {
2018-11-13 21:55:59 +01:00
# Debug Pool
2019-03-06 15:55:39 +01:00
server 127.0.0.1:9173;
2018-11-13 21:55:59 +01:00
}
{{/php7conf}}
2019-03-06 15:55:39 +01:00
# Netdata Monitoring Upstream
upstream netdata {
server 127.0.0.1:19999;
keepalive 64;
}
2018-11-13 21:55:59 +01:00
{{#hhvmconf}}
upstream hhvm {
# HHVM Pool
server 127.0.0.1:{{hhvm}};
server 127.0.0.1:{{php}} backup;
}
{{/hhvmconf}}