-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.conf
52 lines (40 loc) · 1.68 KB
/
dashboard.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
47
48
49
50
51
52
<VirtualHost *:80>
ServerName recording.athenasowl.tv
Redirect permanent / https://recording.athenasowl.tv
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerName recording.athenasowl.tv
ServerAdmin raghav.khandelwal@quantiphi.com
<Directory /home/user/Documents/ao-tv-recording-dashboard/dashboard/dashboard>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static /home/user/Documents/ao-tv-recording-dashboard/dashboard/static
<Directory /home/user/Documents/ao-tv-recording-dashboard/dashboard/static>
Require all granted
</Directory>
Alias /media /home/user/Documents/ao-tv-recording-dashboard/dashboard/media
<Directory /home/user/Documents/ao-tv-recording-dashboard/dashboard/media>
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/a5b52472eb2ead2f.crt
SSLCertificateKeyFile /etc/ssl/private/athenasowl.key
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
ProxyRequests Off
ProxyPreserveHost On
ProxyPassMatch "^/monitoring/netdata/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)/(.*)" "http://$1.$2.$3.$4:19999/$5" connectiontimeout=5 timeout=30 keepalive=on
WSGIDaemonProcess dashboard python-path=/home/user/Documents/ao-tv-recording-dashboard/dashboard python-home=/home/user/Documents/ao-tv-recording-dashboard/env user=user
WSGIProcessGroup dashboard
WSGIScriptAlias / /home/user/Documents/ao-tv-recording-dashboard/dashboard/dashboard/wsgi.py
</VirtualHost>
</IfModule>