Question

I want to use two servers in my Rails app (with nginx server) - first for web app, second for images. User can upload image in the first server. After upload, image transferred to second server at once. After transfer, user can view image in site. How to organize file transfer from server-to-server?

Était-ce utile?

La solution

Thee are multiple ways to do this. I suggest you start by entering the following words into a search engine and come back with specific questions: nfs, scp, rsync, unison.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top