local.ini 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ; CouchDB Configuration Settings
  2. ; Custom settings should be made in this file. They will override settings
  3. ; in default.ini, but unlike changes made to default.ini, this file won't be
  4. ; overwritten on server upgrade.
  5. [couchdb]
  6. ; max_document_size = 4294967296 ; bytes
  7. ; os_process_timeout = 5000
  8. uuid=97c3f18131cf41abf2725f8d3cc81c41
  9. [couch_peruser]
  10. ; If enabled, couch_peruser ensures that a private per-user database
  11. ; exists for each document in _users. These databases are writable only
  12. ; by the corresponding user. Databases are in the following form:
  13. ; userdb-{hex encoded username}
  14. ; enable = true
  15. ; If set to true and a user is deleted, the respective database gets
  16. ; deleted as well.
  17. ; delete_dbs = true
  18. ; Set a default q value for peruser-created databases that is different from
  19. ; cluster / q
  20. ; q = 1
  21. [chttpd]
  22. ; port = 5984
  23. ; bind_address = 127.0.0.1
  24. ; Options for the MochiWeb HTTP server.
  25. ; server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
  26. ; For more socket options, consult Erlang's module 'inet' man page.
  27. ; socket_options = [{sndbuf, 262144}, {nodelay, true}]
  28. [httpd]
  29. ; NOTE that this only configures the "backend" node-local port, not the
  30. ; "frontend" clustered port. You probably don't want to change anything in
  31. ; this section.
  32. ; Uncomment next line to trigger basic-auth popup on unauthorized requests.
  33. ; WWW-Authenticate = Basic realm="administrator"
  34. ; Uncomment next line to set the configuration modification whitelist. Only
  35. ; whitelisted values may be changed via the /_config URLs. To allow the admin
  36. ; to change this value over HTTP, remember to include {httpd,config_whitelist}
  37. ; itself. Excluding it from the list would require editing this file to update
  38. ; the whitelist.
  39. ; config_whitelist = [{httpd,config_whitelist}, {log,level}, {etc,etc}]
  40. [chttpd_auth]
  41. ; If you set this to true, you should also uncomment the WWW-Authenticate line
  42. ; above. If you don't configure a WWW-Authenticate header, CouchDB will send
  43. ; Basic realm="server" in order to prevent you getting logged out.
  44. ; require_valid_user = false
  45. secret=e7d00ef78460ab2a05b6db6fdafc5754
  46. [ssl]
  47. ; enable = true
  48. ; cert_file = /full/path/to/server_cert.pem
  49. ; key_file = /full/path/to/server_key.pem
  50. ; password = somepassword
  51. ; set to true to validate peer certificates
  52. ; verify_ssl_certificates = false
  53. ; Set to true to fail if the client does not send a certificate. Only used if verify_ssl_certificates is true.
  54. ; fail_if_no_peer_cert = false
  55. ; Path to file containing PEM encoded CA certificates (trusted
  56. ; certificates used for verifying a peer certificate). May be omitted if
  57. ; you do not want to verify the peer.
  58. ; cacert_file = /full/path/to/cacertf
  59. ; The verification fun (optional) if not specified, the default
  60. ; verification fun will be used.
  61. ; verify_fun = {Module, VerifyFun}
  62. ; maximum peer certificate depth
  63. ; ssl_certificate_max_depth = 1
  64. ;
  65. ; Reject renegotiations that do not live up to RFC 5746.
  66. ; secure_renegotiate = true
  67. ; The cipher suites that should be supported.
  68. ; Can be specified in erlang format "{ecdhe_ecdsa,aes_128_cbc,sha256}"
  69. ; or in OpenSSL format "ECDHE-ECDSA-AES128-SHA256".
  70. ; ciphers = ["ECDHE-ECDSA-AES128-SHA256", "ECDHE-ECDSA-AES128-SHA"]
  71. ; The SSL/TLS versions to support
  72. ; tls_versions = [tlsv1, 'tlsv1.1', 'tlsv1.2']
  73. ; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All requests to
  74. ; the Virual Host will be redirected to the path. In the example below all requests
  75. ; to http://example.com/ are redirected to /database.
  76. ; If you run CouchDB on a specific port, include the port number in the vhost:
  77. ; example.com:5984 = /database
  78. [vhosts]
  79. ; example.com = /database/
  80. ; To create an admin account uncomment the '[admins]' section below and add a
  81. ; line in the format 'username = password'. When you next start CouchDB, it
  82. ; will change the password to a hash (so that your passwords don't linger
  83. ; around in plain-text files). You can add more admin accounts with more
  84. ; 'username = password' lines. Don't forget to restart CouchDB after
  85. ; changing this.
  86. [admins]
  87. admin = -pbkdf2-f39d3e67a1133fcb3306c7b860e7635f61a1f46c,67bdb51d7cfd6c896714b59a0212f329,10