curl --request POST \
--url https://api.edgee.app/v1/projects/{id}/proxy-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}'
{
"object": "proxy_settings",
"revision": 123,
"description": "<string>",
"is_active": true,
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}
Creates a new ProxySettings.
curl --request POST \
--url https://api.edgee.app/v1/projects/{id}/proxy-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}'
{
"object": "proxy_settings",
"revision": 123,
"description": "<string>",
"is_active": true,
"backends": [
{
"name": "<string>",
"address": "<string>",
"enable_ssl": true,
"check_certificate": "<string>",
"ca_certificate": "<string>",
"sni_hostname": "<string>",
"default": true,
"override_host": "<string>"
}
],
"routes": [
{
"path": "<string>",
"regex": true,
"backend_name": "<string>",
"rank": "<string>",
"continent": [
"<any>"
],
"region": [
"<any>"
],
"country": [
"<any>"
]
}
]
}
The created ProxySettings
A ProxySettings is a revision of the proxy settings of a project.
Was this page helpful?