Note: I have already gone through following answers Serving static files with Nginx + Gunicorn + Django & How exactly do I server static files with nginx and gunicorn for a Django app?
I am using Django along with AngularJS & have deployed the application on Nginx & Gunicorn on AWS. Currently, I have deployed Nginx & Gunicorn on two different EC2 instances. Is it the ideal way to deploy the above configuration?
How to serve the static content? Is it advisable to deploy AngularJS templates from S3 along with CSS, JS & images?
I think there is a better way to handle this. It will be really helpful if someone can guide me to better understand the deployment details for this configuration.
Thanks!