1. Config HAProxy
service haproxy reload
2. Change the LogFormat for ISPConfig site
Edit ispconfig config file
3. Change the LogFormat for httpd
Edit httpd.conf file
service httpd restart
Check the log again. Not as other guides, I still keep the %h because we sometimes need to test the webserver directly. Also, we want to log if there is any other IP accessing our webserver besides the HAProxy.