diff xml/en/docs/http/ngx_http_upstream_module.xml @ 1423:b3d7cd8d7c06

Updated with Netcraft February 2015 Web Server Survey stats.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 24 Feb 2015 19:49:37 +0300
parents 23b409d1f5c7
children 410e0683b6b4
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml	Sun Feb 22 17:58:51 2015 +0000
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml	Tue Feb 24 19:49:37 2015 +0300
@@ -32,8 +32,10 @@
 <para>
 <example>
 upstream <emphasis>backend</emphasis> {
+    least conn;
+
     server backend1.example.com       weight=5;
-    server backend2.example.com:8080;
+    server backend2.example.com:8080  max_fails=3 fail_timeout=30s;
     server unix:/tmp/backend3;
 
     server backup1.example.com:8080   backup;