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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top