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:
acl logs-in-folder path_beg -i /logs/
use_backend view_log if logs-in-folder
# 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.htmlIndex of /logs/
Index of /logs/