Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
1422:895ed8e6f5a8 | 1423:b3d7cd8d7c06 |
---|---|
30 <section id="example" name="Example Configuration"> | 30 <section id="example" name="Example Configuration"> |
31 | 31 |
32 <para> | 32 <para> |
33 <example> | 33 <example> |
34 upstream <emphasis>backend</emphasis> { | 34 upstream <emphasis>backend</emphasis> { |
35 least conn; | |
36 | |
35 server backend1.example.com weight=5; | 37 server backend1.example.com weight=5; |
36 server backend2.example.com:8080; | 38 server backend2.example.com:8080 max_fails=3 fail_timeout=30s; |
37 server unix:/tmp/backend3; | 39 server unix:/tmp/backend3; |
38 | 40 |
39 server backup1.example.com:8080 backup; | 41 server backup1.example.com:8080 backup; |
40 server backup2.example.com:8080 backup; | 42 server backup2.example.com:8080 backup; |
41 } | 43 } |