add ssl info in haproxy debug log if uncommented
This commit is contained in:
parent
0705ce1c47
commit
35d25021a3
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,9 @@ utils.mkConfigFile {
|
|||
group ${group}
|
||||
|
||||
log /dev/log local0 info
|
||||
|
||||
# Include ssl cipher in log output.
|
||||
# tune.ssl.capture-cipherlist-size 800
|
||||
|
||||
defaults
|
||||
log global
|
||||
|
@ -80,6 +83,8 @@ utils.mkConfigFile {
|
|||
frontend https
|
||||
mode http
|
||||
|
||||
# log-format "%ci:%cp [%tr] %ft %b/%s %TR/%Tw/%Tc/%Tr/%Ta %ST %B %CC %CS %tsc %ac/%fc/%bc/%sc/%rc %sq/%bq %hr %hs %{+Q}r %sslv %sslc %[ssl_fc_cipherlist_str]"
|
||||
|
||||
bind *:443 ssl crt ${certPath}
|
||||
http-request set-header X-Forwarded-Port %[dst_port]
|
||||
http-request set-header X-Forwarded-For %[src]
|
||||
|
|
Loading…
Reference in a new issue