I need to server two Django Apps with Apache and I'm using standard procedure on serving wsgi.py using Apache.
My first Daemon Process is this:
WSGIDaemonProcess app1 user=www-data group=www-data threads=50 python-home=/usr/bin/python3.6
My second Daemon Process is this:
WSGIDaemonProcess app2 user=www-data group=www-data threads=50 python-home=/usr/bin/python3.6
I understood from trial and error that they can't have the same user and group and that If I do what I have done above, one app will function properly and the other will go down.
How could I make this work?