Fix broken X-Accel-Redirect in nginx

The media location wasn't aliased to the correct location
on disk.
Properly build fully qualified urls in contacts page

and clean up string generation.