I am following this instruction to install gitlab: https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/installation.md
All is well until #7. nginx. I have problem with this specific instruction
# Change **YOUR_SERVER_IP** and **YOUR_SERVER_FQDN** # to the IP address and fully-qualified domain name # of your host serving GitLab sudo vim /etc/nginx/sites-available/gitlab
Can I use 127.0.0.1 and localhost for YOUR_SERVER_IP and YOUR_SERVER_FQDN respectively? I really don't want to use any .coms, this gitlab will be used internally.
When I visited localhost, it shows 502 Bad Gateway.
My error_log file content
2013/03/24 09:18:21 [crit] 12152#0: *1 connect() to unix:/home/git/gitlab/tmp/sockets/gitlab.socket failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "http://unix:/home/git/gitlab/tmp/sockets/gitlab.socket:/", host: "localhost"
Your help is highly appreciated. Thank you.