Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4737

HAProxy - Docker

$
0
0

@amirhd wrote:

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/

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>