mako template with proxy and logging settings

this is a pull request with a questionmark.

to make the solution work in our wsgi environment, we have to define the proxy in the wsgi config.
I am not sure though if this has to be committed into master.
should this proxy setting be included in the makefile / vars-file rather than in the mako template directly?