now working behind reverse proxies correctly
added docs for proxy