summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-11-03 11:33:38 +0100
committervarac <varacanero@zeromail.org>2012-11-03 11:33:38 +0100
commit5493d362f7b3abd6c8aa9350341a551c53622604 (patch)
treec25a8e52bc9de6fdea58c5fcc787133cf035e219 /puppet/modules/site_apache
parent16f007c540d56c2e64c1f73bd1ff49674bd0afeb (diff)
configure apache ssl proxy for couchdb
Diffstat (limited to 'puppet/modules/site_apache')
-rw-r--r--puppet/modules/site_apache/files/vhosts.d/couchdb_proxy.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/modules/site_apache/files/vhosts.d/couchdb_proxy.conf b/puppet/modules/site_apache/files/vhosts.d/couchdb_proxy.conf
new file mode 100644
index 00000000..79ad931d
--- /dev/null
+++ b/puppet/modules/site_apache/files/vhosts.d/couchdb_proxy.conf
@@ -0,0 +1,10 @@
+Listen 0.0.0.0:6984
+
+<VirtualHost *:6984>
+ SSLEngine On
+ SSLProxyEngine On
+ SSLCertificateKeyFile /etc/couchdb/server_key.pem
+ SSLCertificateFile /etc/couchdb/server_cert.pem
+ ProxyPass / http://127.0.0.1:5984/
+ ProxyPassReverse / http://127.0.0.1:5984/
+</VirtualHost>