forked from phoenixctms/install-debian
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path00_ctsms_https.conf
More file actions
71 lines (58 loc) · 1.88 KB
/
00_ctsms_https.conf
File metadata and controls
71 lines (58 loc) · 1.88 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#<IfDefine SSL>
#<IfDefine !NOSSL>
<VirtualHost *:443>
ServerName localhost:443
ServerAlias 127.0.0.1:443
#ServerAlias 192.168.0.75:443
#ServerAdmin ctsms@192.168.0.75
#ServerAdmin ctsms@localhost
TransferLog /var/log/apache2/access.ctsms.log
ErrorLog /var/log/apache2/error.ctsms.log
Include /etc/apache2/blocklist.conf
SetEnvIf Request_URI "/static/*" no-jk
Alias /documents /ctsms/documents/
<Directory "/ctsms/documents">
Options Indexes Multiviews
AllowOverride None
Require all granted
</Directory>
Alias /resources /var/lib/tomcat8/webapps/ROOT/resources
<Directory "/var/lib/tomcat8/webapps/ROOT/resources">
#Options FollowSymLinks
#allow from all
AllowOverride None
Require all granted
</Directory>
Alias / /var/lib/tomcat8/webapps/ROOT/
<Directory "/var/lib/tomcat8/webapps/ROOT">
#Options FollowSymLinks
#allow from all
AllowOverride None
Require all granted
</Directory>
<Location "/WEB-INF/">
#AllowOverride None
deny from all
</Location>
DocumentRoot /var/lib/tomcat8/webapps/ROOT
JkMount /*.jsf ajp13
JkMount /rest/* ajp13
JkMount /inputfieldimage ajp13
JkMount /file ajp13
JkMount /beacon/* ajp13
JkMount /unsubscribe/* ajp13
SSLEngine on
#SSLProtocol -ALL +SSLv3 +TLSv1
#SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
#SSLCertificateChainFile /etc/apache2/ssl.crt/ComodoIntermediateCertificates.crt
# <Files ~ "\.(cgi|shtml|phtml|php3?)$">
# SSLOptions +StdEnvVars
# </Files>
# <Directory "/srv/www/cgi-bin">
# SSLOptions +StdEnvVars
# </Directory>
</VirtualHost>
#</IfDefine>
#</IfDefine>