mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 00:51:17 +00:00
633 B
633 B
title |
---|
Proxy |
A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers.
Request your server, fetch the proxy URL you typed and return.
Configuration
Configuration:
- Key:
proxy
- Environment:
development
- Location:
./config/environments/development/security.json
- Type:
string
Example:
{
"proxy": "http://mycdn.com"
}
Notes:
- The string will fetch the host and return. For example, when you request
http://localhost:1337/users
, it will fetchhttp://mycdn.com/users
and return. - Set to
false
to disable the proxy security.