Load Balancing NextCloud

Configuration has yet to be fully verified, Kemp Support will gladly assist if your NextCloud traffic is not flowing as expected.

 

1   Introduction

NextCloud is a suite of client-server software for creating file hosting services and using them. NextCloud is functionally very similar to the widely used Dropbox, with the primary functional difference being that NextCloud is free and opensource, and thereby allowing anyone to install and operate it without charge on a private server. 

 

1.1  Document Purpose

This section details a configuration for a specific application that has been provided by a customer but has yet to be fully tested.

This specific configuration will ensure that your NextCloud servers are highly-available, scalable, and secure.

Configuration has yet to be fully verified, Kemp Support will gladly assist if your NextCloud traffic is not flowing as expected.

 

2  Configuration 

 

2.1  Global Configuration

       No Changes Required

 

2.2  Virtual Service Configuration

 One virtual Service is required that will listen on port 443. If required a second virtual service will be used to redirect traffic to port 443.

 

Port 80 Redirect

When 443 Virtual Service is created, navigate to Modify VS --> Advanced Properties --> Add a Port 80 Redirector VS

 

  

 

2.3  NextCloud

      > New Virtual Service

      > Enter IP Address

      > Port = 443

      > Name = NextCloud

      > Add New Virtual Service

2.4    Standard Options   

      >  Persistence = Super HTTP (You will need to enable "SSL Acceleration" in SSL Properties in section  2.5) 

      >  Timeout =  1 Hours

      > Scheduling Method = Least Connection

 

 

2.5     Enable SSL Acceleration  (Tick Reencrypt if Server expects 443 Encrypted Traffic)

      >  Assign Certificate

 

2.6    Real Servers

      > Checker Parameter Type = HTTP   (HTTPS If Renencrypting) 

      > Check Port = 80    (443 If Renencrypting) 

      >  Add New

      > Enter Real Server IP Address

      > Port = 80  

      > Forwarding Method = NAT

 

If you have successfully Load Balanced your NextCloud Servers by implementing this specific configuration, please give a thumbs up or please leave a comment on a possible alteration that was required to make it function. Thank you

0

3 comments

Avatar

Sanjay Damodaran

Hi, this configuration isnt working. Can someone help me ?

0

Avatar

Nobirthname Nolastname

I'm to still struggling to get it to work. Have anyone found a solution yet?

0

Avatar

Andrew Wilkerson

I was not able to get this to work, is this post dead?

0

Please to leave a comment.

Didn't find what you were looking for?