X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fapache2%2Fmkws-ssl-px;fp=tools%2Fapache2%2Fmkws-ssl-px;h=d160cc1dbf5cdda454d434d3a48bbeb709fb535c;hb=a9b5ea0161e95e547dff79cf27ff3b39e1d1b99f;hp=0000000000000000000000000000000000000000;hpb=ddba00a69df12b653d983959340e01ac6e5e4faa;p=mkws-moved-to-github.git diff --git a/tools/apache2/mkws-ssl-px b/tools/apache2/mkws-ssl-px new file mode 100644 index 0000000..d160cc1 --- /dev/null +++ b/tools/apache2/mkws-ssl-px @@ -0,0 +1,48 @@ +# A very simple configuration to proxy the irspy + + + ServerName mkws.indexdata.com + ServerAlias mkws-dev.indexdata.com + + + SSLEngine on + SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown + + #SSLCertificateFile /etc/ssl/certs/indexdata.com/id.cert + #SSLCertificateKeyFile /etc/ssl/certs/indexdata.com/id.key + + SSLProxyEngine on + + + # Remove the X-Forwarded-For header, as the proxy appends to it, + # and we need a clean ip address for the statistics + # RequestHeader unset X-Forwarded-For early + # Never mind + + # ProxyRequests off + + Order deny,allow + Allow from all + + + ProxyPreserveHost On + ProxyPass / http://caliban/ + ProxyPassReverse / http://caliban/ + + # Experiments to hunt down bu 3716 + # Increase buffer size so that we don't go for chunked stuff + # ProxyIOBufferSize 8192 + # Didn't help + # Disable gzipping + # RequestHeader unset Accept-Encoding + # Didn't help + # ProxyReceiveBufferSize 8192 + # Didn't help + SetEnv force-proxy-request-1.0 1 + SetEnv proxy-nokeepalive 1 + + # These are the logs for the proxying operation + ErrorLog /var/log/apache2/mkws-ssl-error.log + CustomLog /var/log/apache2/mkws-ssl-access.log combined + +