Add tests for bind-address

This commit is contained in:
Manuel de Brito Fontes 2018-05-16 14:08:43 -04:00 committed by Manuel Alejandro de Brito Fontes
parent df61bd7565
commit a085808d2d
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
4 changed files with 33 additions and 10 deletions

View file

@ -101,8 +101,7 @@ The following table shows a configuration option's name, type, and the default v
|[limit-conn-zone-variable](#limit-conn-zone-variable)|string|"$binary_remote_addr"|
|[proxy-stream-timeout](#proxy-stream-timeout)|string|"600s"|
|[proxy-stream-responses](#proxy-stream-responses)|int|1|
|[bind-address-ipv4](#bind-address-ipv4)|[]string|""|
|[bind-address-ipv6](#bind-address-ipv6)|[]string|""|
|[bind-address](#bind-address)|[]string|""|
|[forwarded-for-header](#forwarded-for-header)|string|"X-Forwarded-For"|
|[compute-full-forwarded-for](#compute-full-forwarded-for)|bool|"false"|
|[proxy-add-original-uri-header](#proxy-add-original-uri-header)|bool|"true"|
@ -586,16 +585,10 @@ Sets the number of datagrams expected from the proxied server in response to the
_References:_
[http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html#proxy_responses](http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html#proxy_responses)
## bind-address-ipv4
## bind-address
Sets the addresses on which the server will accept requests instead of *. It should be noted that these addresses must exist in the runtime environment or the controller will crash loop.
## bind-address-ipv6
Sets the addresses on which the server will accept requests instead of *. It should be noted that these addresses must exist in the runtime environment or the controller will crash loop.
## forwarded-for-header
Sets the header field for identifying the originating IP address of a client. _**default:**_ X-Forwarded-For