New file, mkws-examples-proxy
authorMike Taylor <mike@indexdata.com>
Tue, 9 Jul 2013 12:00:41 +0000 (13:00 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 9 Jul 2013 12:00:41 +0000 (13:00 +0100)
examples/apache2/mkws-examples-proxy [new file with mode: 0644]

diff --git a/examples/apache2/mkws-examples-proxy b/examples/apache2/mkws-examples-proxy
new file mode 100644 (file)
index 0000000..7fb168b
--- /dev/null
@@ -0,0 +1,18 @@
+<VirtualHost *:80>
+    ServerName example.indexdata.com
+
+    ProxyRequests off
+    ProxyVia On
+    ProxyPreserveHost On
+    <Proxy *>
+      Order deny,allow
+      Allow from all
+    </Proxy>
+
+    ProxyPass         / http://caliban:80/
+    ProxyPassReverse  / http://caliban:80/
+
+    # These are the logs for the proxying operation
+    ErrorLog /var/log/apache2/mkws-examples-proxy-error.log
+    CustomLog /var/log/apache2/mkws-examples-proxy-access.log combined
+</VirtualHost>