Commit 25ee53c3 authored by Ben Bodenmiller's avatar Ben Bodenmiller

fail_timeout=0 as recommended by Unicorn

Set's fail_timeout=0 as recommended by
http://unicorn.bogomips.org/Unicorn/Configurator.html#method-i-timeout
when Unicorn is running behind nginx.
parent 3d1a246f
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
## ##
upstream gitlab { 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 ## Normal HTTP host
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
## See installation.md#using-https for additional HTTPS configuration details. ## See installation.md#using-https for additional HTTPS configuration details.
upstream gitlab { 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 ## Normal HTTP host
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment