Skip to content

Commit

Permalink
Added the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Jan 22, 2016
1 parent 6c32119 commit ab0ca58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ IMPROVEMENTS:
* drivers: Interpret Nomad variables in environment variables/args [GH-653]
* core: Populate job status [GH-663]
* core/cli: Print short identifiers and UX cleanup [GH-675, GH-693, GH-692]
* api: Allow users to set arbitrary headers via agent config [GH-699]

BUG FIXES:
* cli: Handle parsing of un-named ports [GH-604]
Expand Down
9 changes: 9 additions & 0 deletions website/source/docs/agent/config.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,15 @@ nodes, unless otherwise specified:
* `disable_anonymous_signature`: Disables providing an anonymous signature
for de-duplication with the update check. See `disable_update_check`.

* `http_api_response_headers`: This object allows adding headers to the
HTTP API responses. For example, the following config can be used to enable
CORS on the HTTP API endpoints:
```
http_api_response_headers {
Access-Control-Allow-Origin = "*"
}
```

## Server-specific Options

The following options are applicable to server agents only and need not be
Expand Down

0 comments on commit ab0ca58

Please sign in to comment.