Move tools Apache2 configuration into tools area
[mkws-moved-to-github.git] / tools / apache2 / mkws-proxy
diff --git a/tools/apache2/mkws-proxy b/tools/apache2/mkws-proxy
new file mode 100644 (file)
index 0000000..4e16c51
--- /dev/null
@@ -0,0 +1,19 @@
+<VirtualHost *:80>
+    ServerName mkws.indexdata.com
+    ServerAlias somesite.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-proxy-error.log
+    CustomLog /var/log/apache2/mkws-proxy-access.log combined
+</VirtualHost>