summaryrefslogtreecommitdiff
path: root/etc/couchdb
diff options
context:
space:
mode:
Diffstat (limited to 'etc/couchdb')
-rw-r--r--etc/couchdb/local.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/couchdb/local.ini b/etc/couchdb/local.ini
index 96fcdc76..7399f156 100644
--- a/etc/couchdb/local.ini
+++ b/etc/couchdb/local.ini
@@ -16,6 +16,16 @@
[log]
;level = debug
+
+; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All requests to
+; the Virual Host will be redirected to the path. In the example below all requests
+; to http://example.com/ are redirected to /database.
+; If you run CouchDB on a specific port, include the port number in the vhost:
+; example.com:5984 = /database
+
+[vhosts]
+;example.com = /database/
+
[update_notification]
;unique notifier name=/full/path/to/exe -with "cmd line arg"