-
Notifications
You must be signed in to change notification settings - Fork 1
/
50-ccm-farm.webapps-sk.conf
81 lines (66 loc) · 2.62 KB
/
50-ccm-farm.webapps-sk.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<VirtualHost *:80>
ServerName localhost
RewriteEngine On
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [QSA,R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerName localhost
Timeout 3000
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:!RC4+RSA:+HIGH:+MEDIUM:!LOW
SSLCertificateFile /etc/pki/tls/certs/star_ccm_sickkids_ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/star_ccm_sickkids_ca.key
SSLCertificateChainFile /etc/pki/tls/certs/DigiCertCA.crt
ErrorLog logs/ssl.phenotype.ccm.sickkids.ca.error.log
CustomLog logs/ssl.phenotype.ccm.sickkids.ca.access.log common
</VirtualHost>
# Redirect old instances
<VirtualHost *:80>
ServerName rdconnect.ccm.sickkids.ca
ServerAlias neuromics.ccm.sickkids.ca
RewriteEngine On
RewriteRule ^/(.*)$ https://platform.rd-connect.eu/phenotips/$1 [QSA,R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerName rdconnect.ccm.sickkids.ca
ServerAlias neuromics.ccm.sickkids.ca
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/star_ccm_sickkids_ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/star_ccm_sickkids_ca.key
SSLCertificateChainFile /etc/pki/tls/certs/DigiCertCA.crt
Header add Strict-Transport-Security "max-age=15768000; includeSubDomains"
RewriteEngine On
RewriteRule ^/(.*)$ https://platform.rd-connect.eu/phenotips/$1 [QSA,R=301,L]
</VirtualHost>
<VirtualHost *:80>
ServerName testwebapps.ccm.sickkids.ca
ServerAlias *.ccm.sickkids.ca
RewriteEngine On
RewriteRule ^/?forge/(.*)$ https://phenomecentral.org/$1 [R=301,L]
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [QSA,R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerName testwebapps.ccm.sickkids.ca
ServerAlias *.ccm.sickkids.ca
Timeout 3000
Header add X-Frontent "this is the new server"
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:!RC4+RSA:+HIGH:+MEDIUM:!LOW
SSLCertificateFile /etc/pki/tls/certs/star_ccm_sickkids_ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/star_ccm_sickkids_ca.key
SSLCertificateChainFile /etc/pki/tls/certs/DigiCertCA.crt
ErrorLog logs/ssl.phenotype.ccm.sickkids.ca.error.log
CustomLog logs/ssl.phenotype.ccm.sickkids.ca.access.log common
Header add Strict-Transport-Security "max-age=15768000; includeSubDomains"
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / ajp://127.0.0.1:8009/
</VirtualHost>