#/bin/sh

PHP_SERVER=${PHP_SERVER:-php}
echo "upstream php-upstream { server ${PHP_SERVER}:9000; }" > /etc/nginx/conf.d/upstream.conf;
cat /etc/nginx/conf.d/upstream.conf
