Add some of the missing setting to 'page_rule' api
@@ -23,26 +23,38 @@ type PageRuleTarget struct {
PageRuleAction is the action to take when the target is matched.
Valid IDs are:
-
always_online
always_use_https
browser_cache_ttl
browser_check
+ bypass_cache_on_cookie
+ cache_by_device_type
+ cache_deception_armor
cache_level
+ cache_on_cookie
disable_apps
disable_performance
disable_railgun
disable_security
edge_cache_ttl
email_obfuscation
+ explicit_cache_control
forwarding_url
+ host_header_override
ip_geolocation
mirage
+ opportunistic_encryption
+ origin_error_page_pass_thru
+ polish
+ resolve_override
+ respect_strong_etag
+ response_buffering
rocket_loader
security_level
server_side_exclude
- smart_errors
+ sort_query_string_for_cache
ssl
+ true_client_ip_header
waf
*/
type PageRuleAction struct {
@@ -56,21 +68,34 @@ var PageRuleActions = map[string]string{
"always_use_https": "Always Use HTTPS", // Value of type interface{}
"browser_cache_ttl": "Browser Cache TTL", // Value of type int
"browser_check": "Browser Integrity Check", // Value of type string
+ "bypass_cache_on_cookie": "Bypass Cache on Cookie", // Value of type string
+ "cache_by_device_type": "Cache By Device Type", // Value of type string
+ "cache_deception_armor": "Cache Deception Armor", // Value of type string
"cache_level": "Cache Level", // Value of type string
+ "cache_on_cookie": "Cache On Cookie", // Value of type string
"disable_apps": "Disable Apps", // Value of type interface{}
"disable_performance": "Disable Performance", // Value of type interface{}
"disable_railgun": "Disable Railgun", // Value of type string
"disable_security": "Disable Security", // Value of type interface{}
"edge_cache_ttl": "Edge Cache TTL", // Value of type int
"email_obfuscation": "Email Obfuscation", // Value of type string
+ "explicit_cache_control": "Origin Cache Control", // Value of type string
"forwarding_url": "Forwarding URL", // Value of type map[string]interface
+ "host_header_override": "Host Header Override", // Value of type string
"ip_geolocation": "IP Geolocation Header", // Value of type string
"mirage": "Mirage", // Value of type string
+ "opportunistic_encryption": "Opportunistic Encryption", // Value of type string
+ "origin_error_page_pass_thru": "Origin Error Page Pass-thru", // Value of type string
+ "polish": "Polish", // Value of type string
+ "resolve_override": "Resolve Override", // Value of type string
+ "respect_strong_etag": "Respect Strong ETags", // Value of type string
+ "response_buffering": "Response Buffering", // Value of type string
"rocket_loader": "Rocker Loader", // Value of type string
"security_level": "Security Level", // Value of type string
"server_side_exclude": "Server Side Excludes", // Value of type string
- "smart_errors": "Smart Errors", // Value of type string
+ "sort_query_string_for_cache": "Query String Sort", // Value of type string
"ssl": "SSL", // Value of type string
+ "true_client_ip_header": "True Client IP Header", // Value of type string
"waf": "Web Application Firewall", // Value of type string
}
