1
0
Fork 0

add ssl info in haproxy debug log if uncommented

This commit is contained in:
ibizaman 2022-09-28 23:34:14 -07:00
parent 0705ce1c47
commit 35d25021a3

View file

@ -61,6 +61,9 @@ utils.mkConfigFile {
log /dev/log local0 info
# Include ssl cipher in log output.
# tune.ssl.capture-cipherlist-size 800
defaults
log global
option httplog
@ -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]