Skip to content

Commit 0480334

Browse files
committed
feat: proxy support inside transfer command
1 parent b81091c commit 0480334

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docusaurus/docs/cms/data-management/transfer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ server {
6969

7070
:::
7171

72+
7273
## Generate a transfer token
7374

7475
:::prerequisites
@@ -146,6 +147,14 @@ Initiating a data transfer depends on whether you want to push data to a remote
146147
</TabItem>
147148
</Tabs>
148149

150+
### Proxy support
151+
152+
We support a proxy if you have `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` avaiable inside your env.
153+
154+
:::prerequisites
155+
You must set an extra variable `GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''` [inside your env](https://github.com/gajus/global-agent?tab=readme-ov-file#environment-variables).
156+
:::
157+
149158
## Bypass all `transfer` command line prompts
150159

151160
When using the `strapi transfer` command, you are required to confirm that the transfer will delete the existing database contents. The `--force` flag allows you to bypass this prompt. This option is useful for implementing `strapi transfer` programmatically. You must pass the `to-token` option with the transfer token if you use the `--force` option.

0 commit comments

Comments
 (0)