adding gitea backend to haproxy
This commit is contained in:
1 parent
e5ce3c46d1
commit
cc0f436ff7
1 file changed
+5
@@ -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 /
|
||||
|
||||
Reference in new issue
Block a user