Handle upstreams without a trailing slash
Merge pull request #22 from dbrgn/empty_upstream_path

Handle upstreams without a trailing slash