summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2017-04-15 13:26:17 -0400
committerJoan Touzet <joant@atypical.net>2017-04-15 13:26:41 -0400
commit96d10a9046f829802443fff799f9fff061b8c415 (patch)
treeef97a8c523590ca2b465b6df7ca1d245472c5a59
parentcb823dd48a3bada25c230705db3b6f0a2500afbe (diff)
downloadcouchdb-COUCHDB-3100.tar.gz
Clarify & correct require_valid_user settingCOUCHDB-3100
Fixes COUCHDB-3100
-rw-r--r--rel/overlay/etc/default.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 348bae4c1..2cb5bca68 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -42,11 +42,13 @@ n=3
; placement = metro-dc-a:2,metro-dc-b:1
[chttpd]
+; These settings affect the main, clustered port (5984 by default).
port = {{cluster_port}}
bind_address = 127.0.0.1
backlog = 512
docroot = {{fauxton_root}}
socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
+require_valid_user = false
[database_compaction]
; larger buffer sizes can originate smaller files
@@ -135,6 +137,8 @@ port = 6984
; min_writer_size = 16777216
[couch_httpd_auth]
+; WARNING! This only affects the node-local port (5986 by default).
+; You probably want the settings under [chttpd].
authentication_db = _users
authentication_redirect = /_utils/session.html
require_valid_user = false