In gitlab-https, fix rewrite url and the upstream url for 5.0

In 5.0, some paths have changed, so I changed them to the new version. And I made a mistake in the rewrite part, I put my own url in the rewrite part. Sorry for that, now i fix it.