# HG changeset patch # User Yaroslav Zhuravlev # Date 1480357195 -10800 # Node ID dca985318cfe8c256546547fdb232ab385fa4a56 # Parent 8868945bbe97bbdd584baf8ecd97db7793654e4f Documented default value for server route in sticky route. diff -r 8868945bbe97 -r dca985318cfe xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Fri Dec 09 15:48:12 2016 +0300 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Mon Nov 28 21:19:55 2016 +0300 @@ -10,7 +10,7 @@ + rev="56">
@@ -1145,6 +1145,9 @@ This information is compared with the “route” parameter of the directive to identify the server to which the request should be proxied. +If the “route” parameter is not specified, the route name +will be a hexadecimal representation of the MD5 hash of the IP address and port, +or of the UNIX-domain socket path. If the designated server cannot process a request, the new server is selected by the configured balancing method as if there is no routing information in the request. diff -r 8868945bbe97 -r dca985318cfe xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml Fri Dec 09 15:48:12 2016 +0300 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Mon Nov 28 21:19:55 2016 +0300 @@ -10,7 +10,7 @@ + rev="56">
@@ -1151,6 +1151,9 @@ Эта информация сравнивается с параметром “route” директивы для идентификации сервера, на который следует проксировать запрос. +Если параметр “route” не задан, то именем маршрута +будет являться MD5-хэш IP-адреса и порта +(или пути UNIX-сокета) в шестнадцатеричном виде. Если назначенный сервер не может обработать запрос, выбирается новый сервер согласно настроенному методу балансировки как если бы в запросе не было информации о маршруте.