forked from spaun299/profireader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profi-wsgi-apache2.conf
47 lines (41 loc) · 1.47 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
38
39
40
41
42
43
44
45
46
#WSGIPythonPath /v/var/www1:/v/var/www.venv/lib/python3.4/site-packages1
#WSGIPythonHome /v/var/www1
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<VirtualHost *:8080>
ServerName kupyty.com
WSGIDaemonProcess profi user=www-data group=www-data threads=5
WSGIProcessGroup profi
WSGIScriptAlias / /var/www/run.wsgi
# WSGIRestrictStdin Off
# WSGIRestrictStdout Off
CustomLog /var/log/profi/profi-access.log combined
ErrorLog /var/log/profi/profi-error.log
</VirtualHost>
<VirtualHost *:9001>
ServerName file001.kupyty.com
WSGIDaemonProcess file user=www-data group=www-data threads=5
WSGIProcessGroup file
WSGIScriptAlias / /var/www/run.wsgi
CustomLog /var/log/profi/file001-access.log combined
ErrorLog /var/log/profi/file001-error.log
</VirtualHost>
<VirtualHost *:9000>
ServerName static.kupyty.com
WSGIDaemonProcess static user=www-data group=www-data threads=5
WSGIProcessGroup static
WSGIScriptAlias / /var/www/run.wsgi
CustomLog /var/log/profi/static-access.log combined
ErrorLog /var/log/profi/static-error.log
</VirtualHost>
<VirtualHost *:8888>
ServerName front.kupyty.com
WSGIDaemonProcess front user=www-data group=www-data threads=5
WSGIProcessGroup front
WSGIScriptAlias / /var/www/run.wsgi
CustomLog /var/log/profi/front-access.log combined
ErrorLog /var/log/profi/front-error.log
</VirtualHost>