Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 2359:d5e576eb7677
Updated docs for the upcoming NGINX Plus release.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 08 Apr 2019 11:45:08 +0300 |
parents | f047bd9403d5 |
children | e58281e2a93f |
comparison
equal
deleted
inserted
replaced
2358:ee4eccd811cd | 2359:d5e576eb7677 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_proxy_module" | 9 <module name="Module ngx_stream_proxy_module" |
10 link="/en/docs/stream/ngx_stream_proxy_module.html" | 10 link="/en/docs/stream/ngx_stream_proxy_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="22"> | 12 rev="23"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows proxying | 17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows proxying |
294 </para> | 294 </para> |
295 | 295 |
296 </directive> | 296 </directive> |
297 | 297 |
298 | 298 |
299 <directive name="proxy_session_drop"> | |
300 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
301 <default>off</default> | |
302 <context>stream</context> | |
303 <context>server</context> | |
304 <appeared-in>1.15.8</appeared-in> | |
305 | |
306 <para> | |
307 Enables terminating all sessions to a proxied server | |
308 after it was removed from the group or marked as permanently unavailable. | |
309 This can occur because of | |
310 <link doc="ngx_stream_core_module.xml" id="resolver">re-resolve</link> | |
311 or with the API | |
312 <link doc="../http/ngx_http_api_module.xml" id="deleteStreamUpstreamServer"><literal>DELETE</literal></link> | |
313 command. | |
314 A server can be marked as permanently unavailable if it is considered | |
315 <link doc="ngx_stream_upstream_hc_module.xml" id="health_check">unhealthy</link> | |
316 or with the API | |
317 <link doc="../http/ngx_http_api_module.xml" id="patchStreamUpstreamServer"><literal>PATCH</literal></link> | |
318 command. | |
319 Each session is terminated when the next | |
320 read or write event is processed for the client or proxied server. | |
321 </para> | |
322 | |
323 <para> | |
324 <note> | |
325 This directive is available as part of our | |
326 <commercial_version>commercial subscription</commercial_version>. | |
327 </note> | |
328 </para> | |
329 | |
330 </directive> | |
331 | |
332 | |
299 <directive name="proxy_socket_keepalive"> | 333 <directive name="proxy_socket_keepalive"> |
300 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 334 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
301 <default>off</default> | 335 <default>off</default> |
302 <context>stream</context> | 336 <context>stream</context> |
303 <context>server</context> | 337 <context>server</context> |