I am currently working on a Django application, and planning to deploy with Heroku and gunicorn. I've been reading some documentation, and I'm a little confused over proper method to use either nginx or Amazon S3 to support static files and take Django off debug mode.
If I use Nginx with gunicorn, are all static files stored on Heroku, and if so, how do I handle user uploaded files given limited storage on Heroku?
If I use S3 to host my static files, does the application still necessitate the use of nginx, or would I still need it for security purposes? What would you recommend?
I've been searching for a tutorial involving Heroku and nginx, but haven't been able to find any so far. Thanks in advance.
If you're deploying to Heroku you likely don't need to mess with anything nginx. See this guide on
See also
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With