Make gitlab-git-http-server work with nginx

Closed Stan Hu requested to merge add-rule-for-gitlab-git-http-server into master