I have installed 2 servers with WordPress MultiSite.
I also installed a server with haproxy.
haproxy server: 10.10.10.10 site - 1: 10.10.10.11 site - 2: 10.10.10.12
All requests to the HAProxy server are sent to the other two servers using the round robin method.
Site-1 runs the MYSQL database and Site-2 uses this database.
My problem is that when uploading files, multisite users upload files to the server they are connected to and the file remains in the UPLOADS folder on that server. I connected the upload folder on Site-1 to the Site-2 server using SSHFS. This time some files are loaded, others are not.
Since my english is bad, let me summarize it so there is no confusion.
(I took the clone from Server-1 and got Server-2.)
I want two servers that are already installed to use the same database and upload folder, and of course it works properly.