-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsites.conf
More file actions
30 lines (25 loc) · 781 Bytes
/
sites.conf
File metadata and controls
30 lines (25 loc) · 781 Bytes
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
ErrorLog /dev/stderr
TransferLog /dev/stdout
ServerName ${VHOSTNAME}
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
<VirtualHost *:80 >
ServerName ${VHOSTNAME}
ProxyPassReverse / http://${REVERSE_ADDRESS}/
ProxyPass / http://${REVERSE_ADDRESS}/ connectiontimeout=15 timeout=600
ProxyPreserveHost On
ErrorLog /dev/stderr
TransferLog /dev/stdout
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile "/etc/server.crt"
SSLCertificateKeyFile "/etc/server.key"
ServerName ${VHOSTNAME}
ProxyPassReverse / http://${REVERSE_ADDRESS}/
ProxyPass / http://${REVERSE_ADDRESS}/ connectiontimeout=15 timeout=600
ProxyPreserveHost On
ErrorLog /dev/stderr
TransferLog /dev/stdout
</VirtualHost>