trailing slash in url route causes redirect to proxied port