summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Boddie <paul@boddie.org.uk>2014-08-15 12:36:12 (GMT)
committerPaul Boddie <paul@boddie.org.uk>2014-08-15 12:36:12 (GMT)
commit9f35ddd08449b590275094b74861fedabe787351 (patch)
tree585d65f0c8bc05eba544a2bd8262a2cf2b8448dc
parent134b5b05e6415c7461025ef655ceb904c2354440 (diff)
downloadpykolab-dev/boddie-new/setup.tar.gz
Added missing Converse proxy configuration file.dev/boddie-new/setup
-rw-r--r--share/templates/converse-proxy.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/templates/converse-proxy.tpl b/share/templates/converse-proxy.tpl
new file mode 100644
index 0000000..8cc2858
--- /dev/null
+++ b/share/templates/converse-proxy.tpl
@@ -0,0 +1,6 @@
+<VirtualHost $bind_proxy_host_and_port>
+ RewriteEngine on
+ # NOTE: Would be nice to restrict access.
+ #RewriteCond %{REMOTE_ADDR} ^127.0.0.1
+ RewriteRule ^/http-bind(.*) $bind_uri\$1 [P,L]
+</VirtualHost>