update nginx upstreams
This commit is contained in:
@@ -1,27 +1,50 @@
|
|||||||
# Common upstream settings
|
# Common upstream settings
|
||||||
|
|
||||||
|
# PHP 5.6 upstream
|
||||||
upstream php {
|
upstream php {
|
||||||
server 127.0.0.1:9000;
|
server 127.0.0.1:9000;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream debug {
|
upstream debug {
|
||||||
# Debug Pool
|
# Debug Pool
|
||||||
server 127.0.0.1:9001;
|
server 127.0.0.1:9001;
|
||||||
}
|
}
|
||||||
upstream php72 {
|
|
||||||
server unix:/var/run/php/php72-fpm.sock;
|
# PHP 7.0 upstream
|
||||||
}
|
|
||||||
upstream php73 {
|
|
||||||
server unix:/var/run/php/php73-fpm.sock;
|
|
||||||
}
|
|
||||||
{{#php7conf}}
|
|
||||||
upstream php7 {
|
upstream php7 {
|
||||||
server 127.0.0.1:9070;
|
server 127.0.0.1:9070;
|
||||||
}
|
}
|
||||||
upstream debug7 {
|
|
||||||
|
# PHP 7.2 upstream with load-balancing on two unix sockets
|
||||||
|
upstream php72 {
|
||||||
|
server unix:/var/run/php/php72-fpm.sock;
|
||||||
|
}
|
||||||
|
|
||||||
|
# PHP 7.2 debug
|
||||||
|
upstream debug72 {
|
||||||
# Debug Pool
|
# Debug Pool
|
||||||
server 127.0.0.1:9170;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
{{#php7conf}}
|
||||||
|
# PHP 7.3 debug
|
||||||
|
upstream debug73 {
|
||||||
|
# Debug Pool
|
||||||
|
server 127.0.0.1:9173;
|
||||||
}
|
}
|
||||||
{{/php7conf}}
|
{{/php7conf}}
|
||||||
|
|
||||||
|
# Netdata Monitoring Upstream
|
||||||
|
upstream netdata {
|
||||||
|
server 127.0.0.1:19999;
|
||||||
|
keepalive 64;
|
||||||
|
}
|
||||||
|
|
||||||
{{#hhvmconf}}
|
{{#hhvmconf}}
|
||||||
upstream hhvm {
|
upstream hhvm {
|
||||||
# HHVM Pool
|
# HHVM Pool
|
||||||
|
|||||||
Reference in New Issue
Block a user