Make sure to edit the config file to match your setup:
Make sure to edit the config file to match your setup. Also, ensure that you match your paths to GitLab, especially if installing for a user other than the 'git' user:
# Change YOUR_SERVER_FQDN to the fully-qualified
# Change YOUR_SERVER_FQDN to the fully-qualified
# domain name of your host serving GitLab.
# domain name of your host serving GitLab.
#
# Remember to match your paths to GitLab, especially
# if installing for a user other than 'git'.
#
# If using Ubuntu default nginx install:
# If using Ubuntu default nginx install:
# either remove the default_server from the listen line
# either remove the default_server from the listen line
# or else sudo rm -f /etc/nginx/sites-enabled/default
# or else sudo rm -f /etc/nginx/sites-enabled/default