Bugfixes.

* Fixed broken upstreams.conf (we were overwriting istead of appending).
* Escaping dollar signs in the templates.
Merge branch 'master' of github.com:salsita/nginx-scripts