From 59b6337de04c8f60dad4a0f86845143e10e97c92 Mon Sep 17 00:00:00 2001 From: zeeZ Date: Mon, 18 Nov 2013 10:54:20 +0100 Subject: [PATCH 1/2] Add X-Forwarded-For to nginx config --- lib/support/nginx/gitlab | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index 3e929c52990..62b76984892 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -32,6 +32,7 @@ server { proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://gitlab; } From 7b9f428dbe77da922c4e1132d48111061a545214 Mon Sep 17 00:00:00 2001 From: Sajan Parikh Date: Thu, 21 Nov 2013 10:13:31 -0600 Subject: [PATCH 2/2] Reorder steps to install web server before running gitlab:check --- doc/install/installation.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/doc/install/installation.md b/doc/install/installation.md index 77d655ed52d..8a199841865 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -304,15 +304,6 @@ Check if GitLab and its environment are configured correctly: # or sudo /etc/init.d/gitlab restart -## Double-check Application Status - -To make sure you didn't miss anything run a more thorough check with: - - sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production - -If all items are green, then congratulations on successfully installing GitLab! -However there are still a few steps left. - # 7. Nginx @@ -343,7 +334,17 @@ Make sure to edit the config file to match your setup: # Done! -Visit YOUR_SERVER for your first GitLab login. +## Double-check Application Status + +To make sure you didn't miss anything run a more thorough check with: + + sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production + +If all items are green, then congratulations on successfully installing GitLab! + +## Initial Login + +Visit YOUR_SERVER in your web browser for your first GitLab login. The setup has created an admin account for you. You can use it to log in: admin@local.host