summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/couchdb/default.ini.tpl.in3
-rw-r--r--etc/couchdb/local.ini7
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 6b70777e..68350fc2 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -23,6 +23,9 @@ secure_rewrites = true
vhost_global_handlers = _utils, _uuids, _session, _oauth, _users
allow_jsonp = false
+[ssl]
+port = 6984
+
[log]
file = %localstatelogdir%/couch.log
level = info
diff --git a/etc/couchdb/local.ini b/etc/couchdb/local.ini
index 1b31933c..458e1185 100644
--- a/etc/couchdb/local.ini
+++ b/etc/couchdb/local.ini
@@ -29,6 +29,13 @@
[log]
;level = debug
+[daemons]
+; enable SSL support by uncommenting the following line and supply the PEM's below.
+; httpsd = {couch_httpd, start_link, [https]}
+
+[ssl]
+;cert_file = /full/path/to/server_cert.pem
+;key_file = /full/path/to/server_key.pem
; 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