Simplify nextcloud load balancing
Nextcloud with current settings gives errors when connecting to a random server, so we need to select a specific server for the user. Balancing by source IP should be enough.
This commit is contained in:
parent
c508e400a2
commit
daae9ed045
1 changed files with 3 additions and 3 deletions
|
@ -214,13 +214,13 @@ backend authentik_ldap
|
|||
server s2 authentik-ldap-2:3389 check inter 10s
|
||||
|
||||
backend nextcloud
|
||||
balance source
|
||||
mode http
|
||||
option httpchk
|
||||
http-check send meth GET uri /status.php hdr Host nc.comfycamp.space
|
||||
http-check expect status 200
|
||||
cookie SERVER insert indirect nocache
|
||||
server s1 nextcloud-1:80 check inter 15s cookie s1
|
||||
server s2 nextcloud-2:80 check inter 15s cookie s2
|
||||
server s1 nextcloud-1:80 check inter 15s
|
||||
server s2 nextcloud-2:80 check inter 15s
|
||||
|
||||
backend mta_sts
|
||||
mode http
|
||||
|
|
Loading…
Reference in a new issue