Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1891:6225d50b3cba
Replaced semicolon with dot in health_check.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 18 Jan 2017 15:35:43 +0300 |
parents | 6f2c5a36b4d1 |
children | a58b35cc0823 |
comparison
equal
deleted
inserted
replaced
1890:82ef6dd12534 | 1891:6225d50b3cba |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_upstream_module" | 10 <module name="Module ngx_http_upstream_module" |
11 link="/en/docs/http/ngx_http_upstream_module.html" | 11 link="/en/docs/http/ngx_http_upstream_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="57"> | 13 rev="58"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_upstream_module</literal> module | 18 The <literal>ngx_http_upstream_module</literal> module |
750 <tag-name id="interval"> | 750 <tag-name id="interval"> |
751 <literal>interval</literal>=<value>time</value> | 751 <literal>interval</literal>=<value>time</value> |
752 </tag-name> | 752 </tag-name> |
753 <tag-desc> | 753 <tag-desc> |
754 sets the interval between two consecutive health checks, | 754 sets the interval between two consecutive health checks, |
755 by default, 5 seconds; | 755 by default, 5 seconds. |
756 </tag-desc> | 756 </tag-desc> |
757 | 757 |
758 <tag-name id="health_check_jitter"> | 758 <tag-name id="health_check_jitter"> |
759 <literal>jitter</literal>=<value>time</value> | 759 <literal>jitter</literal>=<value>time</value> |
760 </tag-name> | 760 </tag-name> |
761 <tag-desc> | 761 <tag-desc> |
762 sets the time within which | 762 sets the time within which |
763 each health check will be randomly delayed, | 763 each health check will be randomly delayed, |
764 by default, there is no delay; | 764 by default, there is no delay. |
765 </tag-desc> | 765 </tag-desc> |
766 | 766 |
767 <tag-name id="fails"> | 767 <tag-name id="fails"> |
768 <literal>fails</literal>=<value>number</value> | 768 <literal>fails</literal>=<value>number</value> |
769 </tag-name> | 769 </tag-name> |
770 <tag-desc> | 770 <tag-desc> |
771 sets the number of consecutive failed health checks of a particular server | 771 sets the number of consecutive failed health checks of a particular server |
772 after which this server will be considered unhealthy, | 772 after which this server will be considered unhealthy, |
773 by default, 1; | 773 by default, 1. |
774 </tag-desc> | 774 </tag-desc> |
775 | 775 |
776 <tag-name id="passes"> | 776 <tag-name id="passes"> |
777 <literal>passes</literal>=<value>number</value> | 777 <literal>passes</literal>=<value>number</value> |
778 </tag-name> | 778 </tag-name> |
779 <tag-desc> | 779 <tag-desc> |
780 sets the number of consecutive passed health checks of a particular server | 780 sets the number of consecutive passed health checks of a particular server |
781 after which the server will be considered healthy, | 781 after which the server will be considered healthy, |
782 by default, 1; | 782 by default, 1. |
783 </tag-desc> | 783 </tag-desc> |
784 | 784 |
785 <tag-name id="uri"> | 785 <tag-name id="uri"> |
786 <literal>uri</literal>=<value>uri</value> | 786 <literal>uri</literal>=<value>uri</value> |
787 </tag-name> | 787 </tag-name> |
788 <tag-desc> | 788 <tag-desc> |
789 defines the URI used in health check requests, | 789 defines the URI used in health check requests, |
790 by default, “<literal>/</literal>”; | 790 by default, “<literal>/</literal>”. |
791 </tag-desc> | 791 </tag-desc> |
792 | 792 |
793 <tag-name id="hc_match"> | 793 <tag-name id="hc_match"> |
794 <literal>match</literal>=<value>name</value> | 794 <literal>match</literal>=<value>name</value> |
795 </tag-name> | 795 </tag-name> |
796 <tag-desc> | 796 <tag-desc> |
797 specifies the <literal>match</literal> block configuring the tests that a | 797 specifies the <literal>match</literal> block configuring the tests that a |
798 response should pass in order for a health check to pass; | 798 response should pass in order for a health check to pass. |
799 by default, the response should have status code 2xx or 3xx; | 799 By default, the response should have status code 2xx or 3xx. |
800 </tag-desc> | 800 </tag-desc> |
801 | 801 |
802 <tag-name id="health_check_port"> | 802 <tag-name id="health_check_port"> |
803 <literal>port</literal>=<value>number</value> | 803 <literal>port</literal>=<value>number</value> |
804 </tag-name> | 804 </tag-name> |
805 <tag-desc> | 805 <tag-desc> |
806 defines the port used when connecting to a server | 806 defines the port used when connecting to a server |
807 to perform a health check (1.9.7); | 807 to perform a health check (1.9.7). |
808 by default, equals the <link id="server"/> port. | 808 By default, equals the <link id="server"/> port. |
809 </tag-desc> | 809 </tag-desc> |
810 | 810 |
811 </list> | 811 </list> |
812 </para> | 812 </para> |
813 | 813 |