PHP 7.4.33
Preview: haproxy.cfg Size: 1.81 KB
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/etc/haproxy/haproxy.cfg

#---------------------------------------------------------------------
# Example configuration for a possible web application.  See the
# full configuration options online.
#
#   http://haproxy.1wt.eu/download/1.3/doc/configuration.txt
#
#---------------------------------------------------------------------

#---------------------------------------------------------------------
# Global settings
#---------------------------------------------------------------------
global
    log         127.0.0.1 local2 info
    chroot      /var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    maxconn     512
    user        haproxy
    group       haproxy
    daemon

#---------------------------------------------------------------------
# common defaults that all the 'listen' and 'backend' sections will
# use if not designated in their block
#---------------------------------------------------------------------
defaults
    mode        tcp
    log         global
    option      dontlognull
    option      httpclose
    option      tcplog
#   option      forwardfor
#   option      redispatch
    timeout connect         200
    timeout client          72h
    timeout server          72h
    maxconn     5000
    retries     2



#---------------------------------------------------------------------
# stats listener
#---------------------------------------------------------------------
listen stats
    bind *:1936
    mode http
    stats enable
    stats hide-version
    stats realm Haproxy\ Statistics
    stats uri /

#---------------------------------------------------------------------
# 
#---------------------------------------------------------------------
###############################################
frontend db
bind *:7706
mode tcp
#option tcplog
default_backend db

backend db
mode tcp
server localhost localhost:3306 check

Directory Contents

Dirs: 1 × Files: 3

Name Size Perms Modified Actions
conf.d DIR
- drwxr-xr-x 2024-11-05 02:01:30
Edit Download
1.81 KB lrw-r--r-- 2025-07-10 12:18:04
Edit Download
3.21 KB lrw-r--r-- 2025-07-10 11:44:40
Edit Download
26.31 KB lrw-r--r-- 2025-07-10 12:27:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).