summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>