Question

How can I have nginx added to this stack.

Connected Tutorial
This question is a follow-up to this tutorial:

is it possible to add nginx to this setup? so that we use nginx as reverse proxy to gunicorn above?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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