DOC: minor typo fixes to improve HTML parsing by haproxy-dconv
This must be backported to 1.6 and 1.5
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 2a2abd4..2bfd314 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -4421,20 +4421,19 @@
- server's weight is applied from previous running process unless it has
has changed between previous and new configuration files.
- Example 1:
+ Example: Minimal configuration
- Minimal configuration:
+ global
+ stats socket /tmp/socket
+ server-state-file /tmp/server_state
- global
- stats socket /tmp/socket
- server-state-file /tmp/server_state
+ defaults
+ load-server-state-from-file global
- defaults
- load-server-state-from-file global
+ backend bk
+ server s1 127.0.0.1:22 check weight 11
+ server s2 127.0.0.1:22 check weight 12
- backend bk
- server s1 127.0.0.1:22 check weight 11
- server s2 127.0.0.1:22 check weight 12
Then one can run :
@@ -4447,9 +4446,7 @@
1 bk 1 s1 127.0.0.1 2 0 11 11 4 6 3 4 6 0 0
1 bk 2 s2 127.0.0.1 2 0 12 12 4 6 3 4 6 0 0
- Example 2:
-
- Minimal configuration:
+ Example: Minimal configuration
global
stats socket /tmp/socket
@@ -4462,6 +4459,7 @@
server s1 127.0.0.1:22 check weight 11
server s2 127.0.0.1:22 check weight 12
+
Then one can run :
socat /tmp/socket - <<< "show servers state bk" > /etc/haproxy/states/bk
@@ -5187,7 +5185,7 @@
the frontend or the backend does not specify it, it wants the addition to be
mandatory, so it wins.
- Examples :
+ Example :
# Public HTTP address also used by stunnel on the same machine
frontend www
mode http
@@ -10796,7 +10794,9 @@
Supported in default-server: Yes
+ Example:
+
- Example: server s1 app1.domain.com:80 resolvers mydns resolve-prefer ipv6
+ server s1 app1.domain.com:80 resolvers mydns resolve-prefer ipv6
resolve-net <network>[,<network[,...]]
This options prioritize th choice of an ip address matching a network. This is
@@ -10808,7 +10808,9 @@
Supported in default-server: Yes
- Example: server s1 app1.domain.com:80 resolvers mydns resolve-net 10.0.0.0/8
+ Example:
+
+ server s1 app1.domain.com:80 resolvers mydns resolve-net 10.0.0.0/8
resolvers <id>
Points to an existing "resolvers" section to resolve current server's
@@ -10820,9 +10822,11 @@
Supported in default-server: No
- Example: server s1 app1.domain.com:80 check resolvers mydns
+ Example:
+
+ server s1 app1.domain.com:80 check resolvers mydns
- See also chapter 5.3
+ See also section 5.3
send-proxy
The "send-proxy" parameter enforces use of the PROXY protocol over any
@@ -11138,7 +11142,7 @@
<time> : time related to the event. It follows the HAProxy time format.
<time> is expressed in milliseconds.
-Example of a resolvers section (with default values):
+ Example:
resolvers mydns
nameserver dns1 10.0.0.1:53
@@ -14590,7 +14594,6 @@
15 '{' captured_response_headers* '}' {}
16 '"' http_request '"' "GET /index.html HTTP/1.1"
-
Detailed fields description :
- "client_ip" is the IP address of the client which initiated the TCP
connection to haproxy. If the connection was accepted on a UNIX socket