| domain |
List[str] |
Domain patterns (default: any) |
|
| name |
str |
Rule name |
[optional] |
| uuid |
str |
Rule UUID |
[optional] |
| weight |
int |
Rule weight |
[optional] [default to 0] |
| disabled |
bool |
Whether rule is disabled |
[optional] [default to False] |
| url |
List[str] |
URL patterns |
|
| country |
str |
Country filter type (country_is, country_is_not, any) |
[optional] |
| country_is |
List[str] |
Allowed countries |
[optional] |
| country_is_not |
List[str] |
Excluded countries |
[optional] |
| method |
str |
Method filter type (method_is, method_is_not, any) |
[optional] |
| method_is |
List[str] |
Allowed HTTP methods |
[optional] |
| method_is_not |
List[str] |
Excluded HTTP methods |
[optional] |
| ip |
str |
IP filter type (ip_is, ip_is_not, any) |
[optional] |
| ip_is |
List[str] |
Allowed IP addresses |
[optional] |
| ip_is_not |
List[str] |
Excluded IP addresses |
[optional] |
| to |
str |
Target URL to proxy to |
|
| host |
str |
Host header override |
[optional] |
| auth_user |
str |
Basic auth username |
[optional] [default to ''] |
| auth_pass |
str |
Basic auth password |
[optional] [default to ''] |
| disable_ssl_verify |
bool |
Disable SSL verification |
[optional] [default to False] |
| cache_lifetime |
str |
Cache lifetime |
[optional] |
| only_proxy_404 |
bool |
Only proxy 404 responses |
[optional] [default to False] |
| inject_headers |
Dict[str, str] |
Headers to inject |
[optional] |
| proxy_strip_headers |
List[str] |
Headers to strip from response |
[optional] |
| proxy_strip_request_headers |
List[str] |
Headers to strip from request |
[optional] |
| origin_timeout |
str |
Origin timeout |
[optional] |
| failover_mode |
bool |
Enable failover mode |
[optional] [default to False] |
| failover_origin_ttfb |
str |
Failover TTFB threshold in milliseconds |
[optional] [default to '2000'] |
| failover_origin_status_codes |
List[str] |
Origin status codes that trigger failover |
[optional] |
| failover_lifetime |
str |
Failover cache lifetime in seconds |
[optional] [default to '300'] |
| proxy_alert_enabled |
bool |
Proxy alert enabled |
[optional] [default to False] |
| waf_enabled |
bool |
WAF enabled |
[optional] [default to False] |
| waf_config |
WafConfig |
|
[optional] |
| application_proxy |
bool |
Enable Quant Cloud application proxy mode |
[optional] [default to False] |
| application_name |
str |
Quant Cloud application name (required when application_proxy is true) |
[optional] |
| application_environment |
str |
Quant Cloud application environment (required when application_proxy is true) |
[optional] |
| application_container |
str |
Quant Cloud application container (required when application_proxy is true) |
[optional] |
| application_port |
int |
Quant Cloud application port (required when application_proxy is true) |
[optional] |
| static_error_page |
str |
Static error page content (HTML) to serve on origin errors |
[optional] |
| static_error_page_status_codes |
List[str] |
Origin status codes that trigger static error page |
[optional] |