Hello all,
One of the projects I work on is reasonably large and involves … uwsgi in emperor
mode. It works great, including the ability to call ini
files for other ini
files for DRY, etc.
Have just upgraded to django 4.2 and have been seriously thinking about a gradual move to daphne. Just for a test, to check load/speed and the like. Talking about local nginx+daphne deployment.
I mentioned ini files because they are great to do things similar to:
[uwsgi]
ini /etc/uwsgi/foo.ini
ini /etc/uwsgi/foo2.ini
host = www.foo.com
env = HOST=host
env = HOST_FULL=https://%(HOST)
etc, etc.
Now how to do that for daphne? dotenv
? Something else?
Thanks!