Skip to content Skip to sidebar Skip to footer

Saving Changes To Django With Nginx?

Anything I modify on my Django app has no effect with what's live on the webapp itself. I can delete the entire project directory and my Django app still works. With Django and Apa

Solution 1:

What is your Nginx configuration? What is your WSGI runner, are you using Nginx-wsgi or the inbuilt Django 'runserver' command?

It sounds like the "it worked" page is on a separate port, and you're testing it directly -- not via Nginx. It's really easy to get the two of them confused :)

Solution 2:

Nvm just figured it out. For Django One Click Install Image on Digital Ocean you need to run:

service gunicorn restart

After you've made all the changes and you'd like to test changes to your web app.

Post a Comment for "Saving Changes To Django With Nginx?"