I sould have mentioned that sry. The Webapplication needs to talk to Elasticsearch which is some kind of Indexing Database. Elasticsearch doesn't have any Authentication/Authorization modules. So I need a proxy to do this for me.
The Code above is just me, trying to setup my first reverse proxy... :-)