22 lines
586 B
Plaintext
22 lines
586 B
Plaintext
# /etc/httpd/conf.d/app.conf
|
|
|
|
WSGIDaemonProcess wsgi-daemon display-name=wsgi-daemon python-path=/srv/app/wsgi processes=3 threads=5
|
|
|
|
Alias /static/ "/srv/app/wsgi/var/www/static/"
|
|
<Directory "/srv/app/wsgi/var/www/static">
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
WSGIScriptAlias / "/srv/app/wsgi/conf/wsgi.py"
|
|
<Directory "/srv/app/wsgi/conf">
|
|
WSGIProcessGroup wsgi-daemon
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
WSGIPassAuthorization On
|
|
AllowOverride None
|
|
Options FollowSymLinks
|
|
<Files wsgi.py>
|
|
Require all granted
|
|
</Files>
|
|
</Directory>
|