klimeryk

local.ini

Jan 23rd, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  10. [httpd]
  11. ;port = 5984
  12. ;bind_address = 127.0.0.1
  13. ; Options for the MochiWeb HTTP server.
  14. ;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
  15. ; For more socket options, consult Erlang's module 'inet' man page.
  16. ;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
  17.  
  18. ; Uncomment next line to trigger basic-auth popup on unauthorized requests.
  19. ;WWW-Authenticate = Basic realm="administrator"
  20.  
  21. ; Uncomment next line to set the configuration modification whitelist. Only
  22. ; whitelisted values may be changed via the /_config URLs. To allow the admin
  23. ; to change this value over HTTP, remember to include {httpd,config_whitelist}
  24. ; itself. Excluding it from the list would require editing this file to update
  25. ; the whitelist.
  26. ;config_whitelist = [{httpd,config_whitelist}, {log,level}, {etc,etc}]
  27.  
  28. [httpd_global_handlers]
  29. ;_google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>}
  30. _fti = {couch_httpd_proxy, handle_proxy_req, <<"http://127.0.0.1:5986">>}
  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.  
  38. [log]
  39. ;level = debug
  40.  
  41. [os_daemons]
  42. ; For any commands listed here, CouchDB will attempt to ensure that
  43. ; the process remains alive while CouchDB runs as well as shut them
  44. ; down when CouchDB exits.
  45. ;foo = /path/to/command -with args
  46.  
  47. [daemons]
  48. ; enable SSL support by uncommenting the following line and supply the PEM's below.
  49. ; the default ssl port CouchDB listens on is 6984
  50. ; httpsd = {couch_httpd, start_link, [https]}
  51.  
  52. [ssl]
  53. ;cert_file = /full/path/to/server_cert.pem
  54. ;key_file = /full/path/to/server_key.pem
  55. ;password = somepassword
  56. ; set to true to validate peer certificates
  57. verify_ssl_certificates = false
  58. ; Path to file containing PEM encoded CA certificates (trusted
  59. ; certificates used for verifying a peer certificate). May be omitted if
  60. ; you do not want to verify the peer.
  61. ;cacert_file = /full/path/to/cacertf
  62. ; The verification fun (optionnal) if not specidied, the default
  63. ; verification fun will be used.
  64. ;verify_fun = {Module, VerifyFun}
  65. ssl_certificate_max_depth = 1
  66. ; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All requests to
  67. ; the Virual Host will be redirected to the path. In the example below all requests
  68. ; to http://example.com/ are redirected to /database.
  69. ; If you run CouchDB on a specific port, include the port number in the vhost:
  70. ; example.com:5984 = /database
  71.  
  72. [vhosts]
  73. ;example.com = /database/
  74.  
  75. [update_notification]
  76. ;unique notifier name=/full/path/to/exe -with "cmd line arg"
  77.  
  78. ; To create an admin account uncomment the '[admins]' section below and add a
  79. ; line in the format 'username = password'. When you next start CouchDB, it
  80. ; will change the password to a hash (so that your passwords don't linger
  81. ; around in plain-text files). You can add more admin accounts with more
  82. ; 'username = password' lines. Don't forget to restart CouchDB after
  83. ; changing this.
  84. [admins]
  85. ;admin = mysecretpassword
Advertisement
Add Comment
Please, Sign In to add comment