Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top