-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvhostconfig.conf
32 lines (25 loc) · 1.38 KB
/
vhostconfig.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
<VirtualHost *:80>
ServerName paythru.to
ServerAlias www.paythru.to
ServerAdmin [email protected]
DocumentRoot /www/paythru.to/public_html
Alias /static /www/paythru.to/public_html/static
Alias /robots.txt /www/paythru.to/public_html/static/robots.txt
Alias /humans.txt /www/paythru.to/public_html/static/humans.txt
Alias /favicon.ico /www/paythru.to/public_html/static/favicon.ico
Alias /crossdomain.xml /www/paythru.to/public_html/static/crossdomain.xml
Alias /apple-touch-icon.png /www/paythru.to/public_html/static/apple-touch-icon.png
Alias /apple-touch-icon-precomposed.png /www/paythru.to/public_html/static/apple-touch-icon-precomposed.png
Alias /apple-touch-icon-114x114.png /www/paythru.to/public_html/static/apple-touch-icon-114x114.png
Alias /apple-touch-icon-114x114-precomposed.png /www/paythru.to/public_html/static/apple-touch-icon-114x114-precomposed.png
<Directory /www/paythru.to/public_html>
Order allow,deny
Allow from all
</Directory>
WSGIDaemonProcess paythru.to processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup paythru.to
WSGIScriptAlias / /www/paythru.to/public_html/api.py
# AddType text/html .py #python mimerender should handle this
ErrorLog /www/paythru.to/logs/apache-error.log
CustomLog /www/paythru.to/logs/apache-access.log combined
</VirtualHost>