Nginx Reverse Proxy For Django App

When I follow the steps to create a nging reverse proxy for my Django app and browse to my domain name, it says Welcome to nginx! How do I make sure it is redirected to my Django app? The Django app still runs on the ip address+port 8000. And the DNS of the domain name connects to the right ip address.

1 Reply

I just ran through this Add HTTPS to Django guide on the Community Site and found an error which I updated. It's possible that was causing your issue.

Additionally, make sure that your A records are pointing to your IP address and that you've left enough time for DNS propagation.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct