Django: Serving huge user-uploaded files in a Multi-server context

86 views Asked by At

I have to serve huge user-uploaded files for my Django app. So I opted for the following server structure:

nginx (Main routing) <-> uWSGI <-> Django App [ONE MACHINE] | nginx [ANOTHER MACHINE hosting media and static]

For permissions convenience, I would like all the files uploaded by users and others generated by the app to be created under my Django app, and then be moved to my storage server.

How can I proceed for the files to be uploaded to my storage server?

0

There are 0 answers