aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/haproxy/haproxy.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'terminaldweller.com/haproxy/haproxy.cfg')
-rw-r--r--terminaldweller.com/haproxy/haproxy.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg
index 57f79f4..6408b44 100644
--- a/terminaldweller.com/haproxy/haproxy.cfg
+++ b/terminaldweller.com/haproxy/haproxy.cfg
@@ -1,5 +1,5 @@
global
- maxconn 256
+ maxconn 768
log 127.0.0.1 local0
ssl-default-bind-ciphers kEECDH+aRSA+AES:kRSA+AES:+AES256:RC4-SHA:!kEDH:!LOW:!EXP:!MD5:!aNULL:!eNULL
ssl-default-bind-options no-sslv3
@@ -251,6 +251,13 @@ frontend mail-submission
acl mail-host-ss req.ssl_sni -i terminaldweller.com
use_backend mail-backend-submission if mail-host-s
use_backend mail-backend-submission if mail-host-ss
+frontend stats
+ mode http
+ bind *:8404
+ http-request use-service prometheus-exporter if { path /metrics }
+ stats enable
+ stats uri /stats
+ stats refresh 10s
#Backends
backend certbot-backend