# Common upstream settings upstream php { # server unix:/run/php5-fpm.sock; server 127.0.0.1:{{php}}; } upstream debug { # Debug Pool server 127.0.0.1:{{debug}}; } {{#php7conf}} upstream php7 { server 127.0.0.1:{{php7}}; } upstream debug7 { # Debug Pool server 127.0.0.1:{{debug7}}; } {{/php7conf}} {{#hhvmconf}} upstream hhvm { # HHVM Pool server 127.0.0.1:{{hhvm}}; server 127.0.0.1:{{php}} backup; } {{/hhvmconf}}