gitlab installation: using localhost

view story

http://serverfault.com – I am following this instruction to install gitlab: https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/install... 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 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 Gate (HowTos)