DEV Community

Discussion on: Flask Deploy with Apache on CentOS - Minimal Setup

Collapse
 
xalxnder profile image
Xavier

I used the same config as your tutorial where the WSGIDaemonProcess will be ran as the apache user.

 ServerName localhost

 WSGIDaemonProcess hitme user=apache group=apache threads=2

 WSGIScriptAlias / /var/www/hitme/wsgi.py

 <Directory /var/www/hitme>
     Require all granted
 </Directory>
Thread Thread
 
sm0ke profile image
Sm0ke

Super cool. Thank you! :)