Serve uploaded files from NGINX server instead of gunicorn/Django
<p>I have separate servers one running NGINX and other running gunicorn/Django, I managed to serve static files from NGINX directly as recommended from Django documentation, but I have an issue with files uploaded by users, which will be upload to server has gunicorn, not the server has NGINX, thus users can't find  their files and browse them.</p>

<p>How to upload files from Django to another server? or How to transfer files from other server after uploading to NGINX?</p>

<p><strong>Note: I don't have the CDN option, I'll server my statics from my servers.</strong></p>

<p>You need to implement a solution for sharing files from one server to another. NFS is the standard in Unixes like Linux. An alternative is to use live mirroring, i.e. create a copy of the media files directory in the nginx server and keep it synchronized. There are probably many options for setting this up; I've successfully used <code>lsyncd</code>.</p>

python django nginx gunicorn django-media