Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from jhowarth/COOK-1399
Allow users to specify bind address.
- Loading branch information
Showing
4 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.sw[op] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
; CouchDB Configuration Settings | ||
|
||
; Custom settings should be made in this file. They will override settings | ||
; in default.ini, but unlike changes made to default.ini, this file won't be | ||
; overwritten on server upgrade. | ||
|
||
[couchdb] | ||
;max_document_size = 4294967296 ; bytes | ||
|
||
[httpd] | ||
;port = 5984 | ||
<% if @bind_address %> | ||
bind_address = <%= @bind_address %> | ||
<% else %> | ||
;bind_address = 127.0.0.1 | ||
<% end %> | ||
; Uncomment next line to trigger basic-auth popup on unauthorized requests. | ||
;WWW-Authenticate = Basic realm="administrator" | ||
|
||
[couch_httpd_auth] | ||
; If you set this to true, you should also uncomment the WWW-Authenticate line | ||
; above. If you don't configure a WWW-Authenticate header, CouchDB will send | ||
; Basic realm="server" in order to prevent you getting logged out. | ||
; require_valid_user = false | ||
|
||
[log] | ||
;level = debug | ||
|
||
|
||
; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All requests to | ||
; the Virual Host will be redirected to the path. In the example below all requests | ||
; to http://example.com/ are redirected to /database. | ||
; If you run CouchDB on a specific port, include the port number in the vhost: | ||
; example.com:5984 = /database | ||
|
||
[vhosts] | ||
;example.com = /database/ | ||
|
||
[update_notification] | ||
;unique notifier name=/full/path/to/exe -with "cmd line arg" | ||
|
||
; To create an admin account uncomment the '[admins]' section below and add a | ||
; line in the format 'username = password'. When you next start CouchDB, it | ||
; will change the password to a hash (so that your passwords don't linger | ||
; around in plain-text files). You can add more admin accounts with more | ||
; 'username = password' lines. Don't forget to restart CouchDB after | ||
; changing this. | ||
[admins] | ||
;admin = mysecretpassword |