brunitto / hello-django

A simple web application template.
0 stars 0 forks source link

Use Gunicorn + Nginx for a better production setup #2

Closed brunitto closed 2 years ago

brunitto commented 2 years ago

https://docs.gunicorn.org/en/latest/deploy.html

brunitto commented 2 years ago

AWS AppRunner does not support multiple containers, and running both Nginx and Gunicorn in the same container is possible but we chose to do not, so our containers can became bloated very quick.

A better approach is to use a CDN and a remote storage source like S3 in Django.