some minor fixes
removed extra trailing slash that causes problems with proxy_pass.  might have to fix that for the relative path as well.