-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault-ssl
More file actions
50 lines (41 loc) · 1.77 KB
/
default-ssl
File metadata and controls
50 lines (41 loc) · 1.77 KB
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
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin info@datacommunitydc.org
ServerName apy.datacommunitydc.org
ServerAlias www.apy.datacommunitydc.org
DocumentRoot /var/www
WSGIDaemonProcess datacommunitydc_apy user=ubuntu group=ubuntu
WSGIScriptAlias / /var/www/datacommunitydc_apy/datacommunitydc_apy.wsgi
<Directory /var/www/datacommunitydc_apy>
WSGIProcessGroup datacommunitydc_apy
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
SSLCertificateFile /etc/ssl/certs/datacommunitydc.org.pem
SSLCertificateChainFile /etc/ssl/certs/datacommunitydc.org.pem
SSLCertificateKeyFile /etc/ssl/private/star_datacommunitydc_org.key
<Location />
SSLRequireSSL On
# #SSLVerifyClient optional
# #SSLVerifyDepth 1
# SSLOptions +StdEnvVars +StrictRequire
</Location>
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
# SSL Protocol Adjustments:
# "force-response-1.0" for this.
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>