DOC: fix example of http-request using ssl_fc_session_id

It was missing the ",hex" resulting in raw binary data being dumped in
the header or the logs. Now we know where these crazy logs originated
from!
This commit is contained in:
Willy Tarreau 2015-08-27 17:15:05 +02:00
parent 16af23c1f3
commit fca4261dac

View File

@ -3709,7 +3709,7 @@ http-request { allow | deny | tarpit | auth [realm <realm>] | redirect <rule> |
Example: Example:
http-request set-header X-Haproxy-Current-Date %T http-request set-header X-Haproxy-Current-Date %T
http-request set-header X-SSL %[ssl_fc] http-request set-header X-SSL %[ssl_fc]
http-request set-header X-SSL-Session_ID %[ssl_fc_session_id] http-request set-header X-SSL-Session_ID %[ssl_fc_session_id,hex]
http-request set-header X-SSL-Client-Verify %[ssl_c_verify] http-request set-header X-SSL-Client-Verify %[ssl_c_verify]
http-request set-header X-SSL-Client-DN %{+Q}[ssl_c_s_dn] http-request set-header X-SSL-Client-DN %{+Q}[ssl_c_s_dn]
http-request set-header X-SSL-Client-CN %{+Q}[ssl_c_s_dn(cn)] http-request set-header X-SSL-Client-CN %{+Q}[ssl_c_s_dn(cn)]