forked from spaun299/profireader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profi-wsgi-apache2.conf
38 lines (33 loc) · 1.28 KB
/
profi-wsgi-apache2.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#WSGIPythonPath /v----directory----1:/v----directory----.venv/lib/python3.4/site-packages1
#WSGIPythonHome /v----directory----1
<Directory ----directory----/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<VirtualHost profireader.com:8080>
ServerName profireader.com
WSGIDaemonProcess profi user=www-data group=www-data threads=5
WSGIProcessGroup profi
WSGIScriptAlias / ----directory----/run.wsgi
# WSGIRestrictStdin Off
# WSGIRestrictStdout Off
CustomLog /var/log/profi/profi-access.log combined
ErrorLog /var/log/profi/profi-error.log
</VirtualHost>
<VirtualHost file001.profireader.com:9001>
ServerName file001.profireader.com
WSGIDaemonProcess file user=www-data group=www-data threads=5
WSGIProcessGroup file
WSGIScriptAlias / ----directory----/run.wsgi
CustomLog /var/log/profi/file001-access.log combined
ErrorLog /var/log/profi/file001-error.log
</VirtualHost>
<VirtualHost *:8888>
ServerName front.profireader.com
WSGIDaemonProcess front user=www-data group=www-data threads=5
WSGIProcessGroup front
WSGIScriptAlias / ----directory----/run.wsgi
CustomLog /var/log/profi/front-access.log combined
ErrorLog /var/log/profi/front-error.log
</VirtualHost>