You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Garren Smith (JIRA)" <ji...@apache.org> on 2016/01/13 10:58:39 UTC

[jira] [Created] (COUCHDB-2935) Enable or disable CORS

Garren Smith created COUCHDB-2935:
-------------------------------------

             Summary: Enable or disable CORS
                 Key: COUCHDB-2935
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2935
             Project: CouchDB
          Issue Type: Improvement
          Components: nmo
            Reporter: Garren Smith


One of the config changes that is done a lot is enabling CORS. 
It would be nice to have a command to do that quickly
Something like

```
nmo cors enable cluster1  [<origins>] [<credentials>] [<methods>] [<headers>]
nmo cors disable cluster1  
```

The cors must make sure that all nodes are online before doing the update.

I think we can have some basic defaults for all the parameters. Something that would be useful for when people use CouchDB on travis for testing. Eg:
https://github.com/nolanlawson/pouchdb-find/blob/master/bin/enable-couchdb-cors.sh



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)