Skip to content

Commit

Permalink
docs: add docs for configuring the CLI for EU DR (#2586)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-col authored Feb 20, 2024
1 parent f06ce46 commit 3bd20ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ When multiple proxy configurations exists, precedence is taken in this form:
2. `https_proxy` takes precedence over `.contentfulrc.json`
3. `https_proxy` takes precedence over `http_proxy`

## Configuring the CLI for EU usage

You can override the host configuration in your `.contentfulrc.json` via:

```sh
contentful config add --host api.eu.contentful.com
```

Then any subsequent command will use the EU host. E.g. `contentful login` will log you in to your EU Contentful instance.

## :rescue_worker_helmet: Troubleshooting

- Unable to connect to Contentful through your Proxy? Try settings `rawProxy: true` in your `.contentfulrc.json` via:
Expand Down

0 comments on commit 3bd20ed

Please sign in to comment.