Gitlab and Nginx not loading gitlab
Solution 1:
I would start by following the official gitlab documentation located here:
https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md
Also, I suspect you've cut and pasted your configuration to post your question, because the line endings above should not have '$' appended. The upstream gitlab block should look like this:
upstream gitlab {
server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket;
}