summaryrefslogtreecommitdiff
path: root/rel/overlay/etc/default.ini
diff options
context:
space:
mode:
Diffstat (limited to 'rel/overlay/etc/default.ini')
-rw-r--r--rel/overlay/etc/default.ini24
1 files changed, 15 insertions, 9 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index ecf340d3..cf06a1ec 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -19,21 +19,22 @@ docroot = {{prefix}}/share/www
[httpd]
port = {{backend_port}}
-bind_address = 0.0.0.0
-authentication_handlers = {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}
+bind_address = 127.0.0.1
+max_connections = 2048
+authentication_handlers = {couch_httpd_oauth, oauth_authentication_handler}, {couch_httpd_auth, cookie_authentication_handler}, {couch_httpd_auth, default_authentication_handler}
default_handler = {couch_httpd_db, handle_request}
-WWW-Authenticate = Basic realm="Cloudant Private Database"
-backlog = 512
secure_rewrites = true
+vhost_global_handlers = _utils, _uuids, _session, _oauth, _users
+allow_jsonp = false
[log]
file = {{prefix}}/var/log/bigcouch.log
level = info
+include_sasl = true
[couch_httpd_auth]
+authentication_db = _users
authentication_redirect = /_utils/session.html
-authentication_db = users
-secret = replace this with a real secret in your local.ini file
require_valid_user = false
timeout = 600 ; number of seconds before automatic logout
auth_cache_size = 50 ; size is number of cache entries
@@ -69,7 +70,6 @@ _stats = {couch_httpd_stats_handlers, handle_stats_req}
_log = {couch_httpd_misc_handlers, handle_log_req}
_session = {couch_httpd_auth, handle_session_req}
_oauth = {couch_httpd_oauth, handle_oauth_req}
-_user = {couch_httpd_auth, handle_user_req}
_system = {chttpd_misc, handle_system_req}
[httpd_db_handlers]
@@ -110,5 +110,11 @@ compression_level = 8 ; from 1 (lowest, fastest) to 9 (highest, slowest), 0 to d
compressible_types = text/*, application/javascript, application/json, application/xml
[replicator]
-max_http_sessions = 10
-max_http_pipeline_size = 10
+max_http_sessions = 20
+max_http_pipeline_size = 50
+; set to true to validate peer certificates
+verify_ssl_certificates = false
+; file containing a list of peer trusted certificates (PEM format)
+; ssl_trusted_certificates_file = /etc/ssl/certs/ca-certificates.crt
+; maximum peer certificate depth (must be set even if certificate validation is off)
+ssl_certificate_max_depth = 3