Hi,
I am trying to figure out a way to see the logs using HAProxy.
Every time I need to check the logs I need to get into specific folder using ssh and read those files.
Is it possible to somehow config HAProxy for example in some way which serve web content that is my desired folder of logs:
frontend https
acl logs-in-folder path_beg -i /logs/
use_backend view_log if logs-in-folder
backend view_log
# here I would like to serve the web content which point to the folders of logs
The application is using docker so the I have a tomcat in docker
the index.html
Index of /logs/Index of /logs/
tomcat-logs-1/ tomcat-logs-2/