forked from shirlei/helios-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helios-ssl.conf
57 lines (48 loc) · 1.86 KB
/
helios-ssl.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
53
54
55
56
57
Alias /robots.txt /var/www/helios-server/sitestatic/robots.txt
Alias /favicon.ico /var/www/helios-server/sitestatic/favicon.ico
AliasMatch ^/([^/]*\.css) /var/www/helios-server/static/styles/$1
Alias /media /var/www/helios-server/sitestatic
Alias /static /var/www/helios-server/sitestatic
Alias /booth /var/www/helios-server/sitestatic/booth
Alias /verifier /var/www/helios-server/sitestatic/verifier
<VirtualHost *:443>
UseCanonicalName On
SSLEngine on
SSLCertificateFile /etc/ssl/certs/dev-helios-apache.crt
SSLCertificateKeyFile /etc/ssl/private/dev-helios-apache.key
DocumentRoot /var/www/helios-server
<Directory /var/www/helios-server>
Options All
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/helios-server/static>
Options All
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/helios-server/media>
Options All
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/helios-server>
Options All
AllowOverride All
Require all granted
<Files wsgi.py>
Order deny,allow
Allow from all
Require all granted
</Files>
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel info
CustomLog /var/log/apache2/helios-access-443.log combined
</VirtualHost>
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess eleicao display-name=%{GROUP} python-home=/venv python-path=/var/www/helios-server:/venv/lib/python2.7:/venv/lib/python2.7/site-packages
WSGIScriptAlias / /var/www/helios-server/wsgi.py
WSGIProcessGroup eleicao