is it possible to add nginx to this setup? so that we use nginx as reverse proxy to gunicorn above?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello,
If you are using the App platform there is no need to add Nginx.
The App Platform takes care of the server-side of things and the SSL certificate set up for you automatically.
Is there a specific reason why you need to add Nginx as well?
You would usually need Nginx so that you could install an SSL certificate, but this would be required in case that you were deploying your Django application on a Droplet as per the instructions here:
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04
Best, Bobby