Run fine behind reverse proxy
Run fine behind reverse proxy

Use trick from http://flask.pocoo.org/snippets/35/ to support reverse proxies.

Signed-off-by: Kai Blin <31ea678c44dc4e8e22ccfd165592dd71a30e46ae@samba.org>

kblin/shortis,kblin/shortis