diff --git a/doc/install/database_mysql.md b/doc/install/database_mysql.md
index 5e9bfff5653cc908b576ba9fa776b72ea9da91b5..362c492d0acb17bd0f0931269db75d125df31c1b 100644
--- a/doc/install/database_mysql.md
+++ b/doc/install/database_mysql.md
@@ -28,14 +28,14 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se
     # change $password in the command below to a real password you pick
     mysql> CREATE USER 'git'@'localhost' IDENTIFIED BY '$password';
 
-    # Ensure you can use the InnoDB engine which is necessary to support long indexes.
+    # Ensure you can use the InnoDB engine which is necessary to support long indexes
     # If this fails, check your MySQL config files (e.g. `/etc/mysql/*.cnf`, `/etc/mysql/conf.d/*`) for the setting "innodb = off"
     mysql> SET storage_engine=INNODB;
     
     # Create the GitLab production database
     mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
 
-    # Grant the GitLab user necessary permissions on the table.
+    # Grant the GitLab user necessary permissions on the database
     mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES ON `gitlabhq_production`.* TO 'git'@'localhost';
 
     # Quit the database session
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 16b06fe006edd46c80f1fa14e59394570295ddc6..49a68c62293cac41063d0f7c4337a242c8c2c3db 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -28,7 +28,7 @@
 ##
 
 upstream gitlab {
-  server unix:/home/git/gitlab/tmp/sockets/gitlab.socket;
+  server unix:/home/git/gitlab/tmp/sockets/gitlab.socket fail_timeout=0;
 }
 
 ## Normal HTTP host
diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl
index d2aa06fe7f6901786fe85efdfc6297db44b52183..19409e41f403fdf343c7f1d7afaecf91db80ba1c 100644
--- a/lib/support/nginx/gitlab-ssl
+++ b/lib/support/nginx/gitlab-ssl
@@ -34,7 +34,7 @@
 ## See installation.md#using-https for additional HTTPS configuration details.
 
 upstream gitlab {
-  server unix:/home/git/gitlab/tmp/sockets/gitlab.socket;
+  server unix:/home/git/gitlab/tmp/sockets/gitlab.socket fail_timeout=0;
 }
 
 ## Normal HTTP host