Newer
Older
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
ServerName dev.vitamui.com
<VirtualHost *:443>
ServerName dev.vitamui.com
# Enable SSL for the Reverse proxy
SSLProxyEngine on
# Client certificate path
# SSLProxyMachineCertificateFile /etc/{{apache_service}}/certs/keystore_client_{{ vitamui_site_name }}.pem
SSLCertificateKeyFile [VITAM_UI_PATH]/deployment/playbooks/pki/dev/certs/nginx/nginx.key
SSLCertificateFile [VITAM_UI_PATH]/deployment/playbooks/pki/dev/certs/nginx/nginx.crt
# Client CA path
#SSLProxyCACertificatePath /etc/{{apache_service}}/ca/{{ vitamui_site_name }}
# Don't check the CN of the server's certificate
SSLProxyCheckPeerCN off
# Don't check the hostname of the server
SSLProxyCheckPeerName off
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
LogLevel debug
KeepAlive Off
ProxyPreserveHost On
ProxyRequests On
# cas
ProxyPass /cas https://dev.vitamui.com:8080/cas
ProxyPassReverse /cas https://dev.vitamui.com:8080/cas
# identity
<Location /identity>
ProxyPass https://dev.vitamui.com:9001/identity
ProxyPassReverse https://dev.vitamui.com:9001/identity
ProxyPreserveHost On
#ProxyHTMLEnable On
#ProxyHTMLExtended On
#ProxyHTMLURLMap https://dev.vitamui.com:9001/identity /
</Location>
# portal
ProxyPass / https://dev.vitamui.com:9000/
ProxyPassReverse / https://dev.vitamui.com:9000/
</VirtualHost>