vhosts.conf 590 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
<VirtualHost *:80>

    DocumentRoot /var/www/html/

    Alias /static /vol/rdmo-app/static_root/
    <Directory /vol/rdmo-app/static_root/>
        Require all granted
    </Directory>

    WSGIDaemonProcess rdmo user=rdmo group=rdmo processes=2 \
11
        python-path=/vol/rdmo-app:/vol/ve/lib/python3.7/site-packages
12
13
14
15
16
17
18
19
20
21
22
23

    WSGIProcessGroup rdmo
    WSGIScriptAlias / /vol/rdmo-app/config/wsgi.py process-group=rdmo
    WSGIPassAuthorization On

    <Directory /vol/rdmo-app/config/>
        <Files wsgi.py>
            Require all granted
        </Files>
    </Directory>

</VirtualHost>