diff --git a/HAPROXY/haproxy.cfg b/HAPROXY/haproxy.cfg index 24b0ff8..7e36811 100644 --- a/HAPROXY/haproxy.cfg +++ b/HAPROXY/haproxy.cfg @@ -36,6 +36,7 @@ frontend https acl is_public hdr(host) -i mshossa.de acl is_stats hdr(host) -i stats.mshossa.de acl is_seafile hdr(host) -i ftp.mshossa.de + acl is_gitea hdr(host) -i gitea.mrhossa.de acl is_seafile_login path_beg /accounts/login /api2/auth-token stick-table type ip size 100k expire 60s store http_req_rate(60s) @@ -52,6 +53,7 @@ frontend https use_backend stats if is_stats use_backend seafile if is_seafile + use_backend web_gitea if is_gitea default_backend seafile @@ -62,6 +64,9 @@ backend seafile timeout server 300s server seafile 172.30.0.12:80 check +backend web_gitea + server gitea 172.30.0.13:3000 check + backend stats stats enable stats uri /