Updated on 2025-08-15 GMT+08:00

ProxyMirrorContent

Table 1 ProxyMirrorContent

Parameter

Mandatory

Type

Description

protocol

Yes

String

The image request protocol.

host

Yes

String

The image service address, which consists of the IP address/domain name and port number. Max.: 255 characters. Format: Host name:Port number. Example: xxx.xxx.xxx:7443. If the port number is not specified, the default HTTPS port 443 or the default HTTP port 80 is used.

path

No

String

URI for non-gRPC image requests. If this parameter is not specified, the original request path is used by default. The path can contain special characters (*%-_.). It can contain a maximum of 512 characters and must comply with URI specifications.

NOTE:

The value of this parameter must comply with URI specifications.

path_concat_mode

No

String

Specifies how to concatenate the image request (non-gRPC) path. Replace (default): Uses the specified request path; Prefix: Combines the specified path and the source request URI.

sample_ratio

No

Float

Sampling rate of the image request. Default: 1 (full sampling)

timeout

No

Integer

Image request timeout. Unit: ms.

mirror_request_body_enabled

No

Boolean

Mirrors the body of client requests. Enabled by default.