I am running Gluster-FS with a High-Availability Storage setup.
Both client and server nodes have NginX running to serve same files.
main.mysite.com
mirror1.mysite.com
..etc..
The problem is that the mirror nodes can't serve files because the owner and group is different.
The owner/group on main server is : web1:client0
and in order to make mirror nodes be able to serve files, their owner/group should be :
www-data:www-data
But because they're being copied from the main server, the owner/group attribute is same as web1:client0
What's the solution ?