how are you?
I'm setting up a NFS server to handle file sync between 2 slaves, but I can't find a configuration file that handles this kind of structure.
My desired outcome is:
Thank you very much
Just found out:
On the master server, I specify the following config:
/NFS slave1_ipaddr(ro,sync,no_root_squash,no_subtree_check) slave2_addr(ro,sync,no_root_squash,no_subtree_check)
On each of the slaves, I mount the folder:
mount -t nfs master_ipaddr:/NFS /usr/share/nginx/html/docroot