Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1424:410e0683b6b4
Rolled back changes in the example of the upstream module.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 24 Feb 2015 20:40:10 +0300 |
parents | b3d7cd8d7c06 |
children | f5b5eefc43cb |
comparison
equal
deleted
inserted
replaced
1423:b3d7cd8d7c06 | 1424:410e0683b6b4 |
---|---|
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 | |
37 server backend1.example.com weight=5; | 35 server backend1.example.com weight=5; |
38 server backend2.example.com:8080 max_fails=3 fail_timeout=30s; | 36 server backend2.example.com:8080; |
39 server unix:/tmp/backend3; | 37 server unix:/tmp/backend3; |
40 | 38 |
41 server backup1.example.com:8080 backup; | 39 server backup1.example.com:8080 backup; |
42 server backup2.example.com:8080 backup; | 40 server backup2.example.com:8080 backup; |
43 } | 41 } |