Hide new fields in mkws.css
[mkws-moved-to-github.git] / tools / apache2 / mkws-ssl-px
1 # A very simple configuration to proxy the irspy
2
3 <VirtualHost *:443>
4     ServerName mkws.indexdata.com
5     ServerAlias mkws-git.indexdata.com
6     ServerAlias sp-mkws.indexdata.com
7
8   <IfModule mod_ssl.c>
9     SSLEngine on
10     SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
11
12     #SSLCertificateFile /etc/ssl/certs/indexdata.com/id.cert
13     #SSLCertificateKeyFile /etc/ssl/certs/indexdata.com/id.key
14
15     SSLProxyEngine on
16   </IfModule>
17
18     # Remove the X-Forwarded-For header, as the proxy appends to it,
19     # and we need a clean ip address for the statistics
20     # RequestHeader unset X-Forwarded-For early
21     # Never mind
22
23     # ProxyRequests off
24     <Proxy *>
25       Order deny,allow
26       Allow from all
27     </Proxy>
28
29     ProxyPreserveHost On
30     ProxyPass         / http://caliban/
31     ProxyPassReverse  / http://caliban/
32
33     # Experiments to hunt down bu 3716
34     # Increase buffer size so that we don't go for chunked stuff
35     # ProxyIOBufferSize 8192
36     # Didn't help
37     # Disable gzipping
38     # RequestHeader unset Accept-Encoding
39     # Didn't help
40     # ProxyReceiveBufferSize 8192
41     # Didn't help
42     SetEnv force-proxy-request-1.0 1
43     SetEnv proxy-nokeepalive 1
44
45     # These are the logs for the proxying operation
46     ErrorLog     /var/log/apache2/mkws-ssl-error.log
47     CustomLog    /var/log/apache2/mkws-ssl-access.log combined
48 </VirtualHost>
49