Use this for Gunicorn.service code:

Notice the separation of the access log. Rather than override the previous log, we create a totally separate one. This will produce a different result and reflect the production website and not the development one.

Reboot all servers after changes (nginx, gunicorn) when in doubt.

obey the testing goat chronicles. Chapter 11

Category: Notes