Advertisement
Guest User

Untitled

a guest
Oct 25th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. ; CouchDB Configuration Settings
  2.  
  3. ; Custom settings should be made in this file. They will override settings
  4. ; in default.ini, but unlike changes made to default.ini, this file won't be
  5. ; overwritten on server upgrade.
  6.  
  7. [couchdb]
  8. ;max_document_size = 4294967296 ; bytes
  9. uuid = 1a7513278fbc1e936436da4017aadf38
  10.  
  11. [httpd]
  12. ;port = 5984
  13. ;bind_address = 127.0.0.1
  14. ; Options for the MochiWeb HTTP server.
  15. ;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
  16. ; For more socket options, consult Erlang's module 'inet' man page.
  17. ;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
  18.  
  19. ; Uncomment next line to trigger basic-auth popup on unauthorized requests.
  20. ;WWW-Authenticate = Basic realm="administrator"
  21.  
  22. ; Uncomment next line to set the configuration modification whitelist. Only
  23. ; whitelisted values may be changed via the /_config URLs. To allow the admin
  24. ; to change this value over HTTP, remember to include {httpd,config_whitelist}
  25. ; itself. Excluding it from the list would require editing this file to update
  26. ; the whitelist.
  27. ;config_whitelist = [{httpd,config_whitelist}, {log,level}, {etc,etc}]
  28.  
  29. [httpd_global_handlers]
  30. ;_google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>}
  31.  
  32. [couch_httpd_auth]
  33. ; If you set this to true, you should also uncomment the WWW-Authenticate line
  34. ; above. If you don't configure a WWW-Authenticate header, CouchDB will send
  35. ; Basic realm="server" in order to prevent you getting logged out.
  36. ; require_valid_user = false
  37. secret = 5ac8660088c197cb250bbad2d3d3ad9b
  38.  
  39. [log]
  40. ;level = debug
  41.  
  42. [os_daemons]
  43. ; For any commands listed here, CouchDB will attempt to ensure that
  44. ; the process remains alive. Daemons should monitor their environment
  45. ; to know when to exit. This can most easily be accomplished by exiting
  46. ; when stdin is closed.
  47. ;foo = /path/to/command -with args
  48.  
  49. [daemons]
  50. ; enable SSL support by uncommenting the following line and supply the PEM's below.
  51. ; the default ssl port CouchDB listens on is 6984
  52. ; httpsd = {couch_httpd, start_link, [https]}
  53.  
  54. [native_query_servers]
  55. erlang = {couch_native_process, start_link, []}
  56.  
  57. [ssl]
  58. ;cert_file = /full/path/to/server_cert.pem
  59. ;key_file = /full/path/to/server_key.pem
  60. ;password = somepassword
  61. ; set to true to validate peer certificates
  62. verify_ssl_certificates = false
  63. ; Path to file containing PEM encoded CA certificates (trusted
  64. ; certificates used for verifying a peer certificate). May be omitted if
  65. ; you do not want to verify the peer.
  66. ;cacert_file = /full/path/to/cacertf
  67. ; The verification fun (optional) if not specified, the default
  68. ; verification fun will be used.
  69. ;verify_fun = {Module, VerifyFun}
  70. ; maximum peer certificate depth
  71. ssl_certificate_max_depth = 1
  72.  
  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.  
  81. [update_notification]
  82. ;unique notifier name=/full/path/to/exe -with "cmd line arg"
  83.  
  84. ; To create an admin account uncomment the '[admins]' section below and add a
  85. ; line in the format 'username = password'. When you next start CouchDB, it
  86. ; will change the password to a hash (so that your passwords don't linger
  87. ; around in plain-text files). You can add more admin accounts with more
  88. ; 'username = password' lines. Don't forget to restart CouchDB after
  89. ; changing this.
  90. [admins]
  91. ;admin = mysecretpassword
  92. root = -pbkdf2-04bb18aebafe4b1b7eccecfe6f005884497d2392,3e53c0f1ae557d14966c07201e791e84,10
  93. t = -pbkdf2-ebfde7f520535e8228e014d881ab4a60a4333972,f6c4905c9e878c5431369902efc7ffcb,10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement