How can I Install 2 Servers for 1 Nextcloud web front?

I would like to use two different Nextcloud servers for a single user front end.

Server 1:

  • Calendar
  • Contacts
  • Passwords
  • Mail

Server 2:

  • Files
  • Photos
  • Talk
  • ETC

When a user logs in, via Server 1, if they click on files, it opens files via Server 2. Same for photos, etc.

The most important thing is that if a user syncs or uploads files, the traffic should not pass through Server 1 at all

The purpose of this is t o reduce server load and have server one only handle load for the most important things like email, etc.

From what I understand about federation, it doesn’t seem that it fits this use case where the user has the same identity on both servers. Even if it does, can anyone help me understand how to make an arrangement like this?


From what I know nextcloud does not allow this…
Federation works as one big cloud on multiple servers with same logins. You will find everything you need in docs.