HAProxy log

Started by svvenni2k, September 13, 2019, 09:35:05 AM

Previous topic - Next topic
September 13, 2019, 09:35:05 AM Last Edit: September 13, 2019, 09:43:35 AM by svvenni2k
Hallo zusammen,

ich weiß wie ich die Log anschaue, aber da sehe ich nicht was durchgeht oder ob der HA was  annimmt. Gibt es eine Möglichkeit das anzuschalten oder sieht man es auch in der Firewall Log und ich weiß nicht wie? ;-)

Grund meiner Frage: Habe den HAProxy eingerichtet, und es geht natürlich nicht.... und ich suche nun den Fehler...

Log ist eingeschaltet bei den Public Services... aber in welcher Log finde ich das dann?

Danke im voraus

Hier mal meine Konfiguration:

#
# Automatically generated configuration.
# Do not edit this file manually.
#

global
    # NOTE: Could be a security issue, but required for some feature.
    uid                         80
    gid                         80
    chroot                      /var/haproxy
    daemon
    stats                       socket /var/run/haproxy.socket level admin expose-fd listeners
    nbproc                      1
    nbthread                    1
    tune.ssl.default-dh-param   1024
    spread-checks               0
    tune.chksize                16384
    tune.bufsize                16384
    tune.lua.maxmem             0
    log /var/run/log local0 info

defaults
    log     global
    option redispatch -1
    timeout client 30s
    timeout connect 30s
    timeout server 30s
    retries 3

# autogenerated entries for ACLs

# autogenerated entries for config in backends/frontends

# autogenerated entries for stats


# Frontend: OWNCLOUDPublic ()
frontend OWNCLOUDPublic
    bind 0.0.0.0:443 name 0.0.0.0:443
    mode http
    option http-keep-alive
    # tuning options
    timeout client 30s

    # logging options

# Frontend (DISABLED): QNAPPublic ()

# Frontend (DISABLED): WEBDAVPublic ()

# Backend (DISABLED): WEBDAV ()

# Backend: OWNCLOUD ()
backend OWNCLOUD
    # health checking is DISABLED
    mode http
    balance source
    # stickiness
    stick-table type ip size 50k expire 30m 
    stick on src
    # tuning options
    timeout connect 30s
    timeout server 30s
    http-reuse safe
    server owncloud 192.168.10.21:443

# Backend (DISABLED): QNAP-WEBFRONTEND ()

und meine Firewall rule:

   IPv4 TCP   *   *   WAN address   443 (HTTPS)   *   *