Report this

What is the reason for this report?

How can I have nginx added to this stack.

Posted on October 18, 2021
xy

By xy

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

How To Deploy a Django App on App Platform

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



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.