summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/install/installation.md21
-rw-r--r--lib/support/nginx/gitlab1
2 files changed, 12 insertions, 10 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 7c074e272a5..4de3c5f729e 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -303,15 +303,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.
-
## Compile assets
@@ -347,7 +338,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
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 4fb203c730c..9f5155b3916 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -35,6 +35,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;
}