Skip to content

Commit 6303f0c

Browse files
committed
fix: update doc
1 parent 322cae0 commit 6303f0c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

website/docs/r/teo_l7_acc_rule.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ The `upstream_request_parameters` object of `actions` supports the following:
714714
The `upstream_url_rewrite_parameters` object of `actions` supports the following:
715715

716716
* `action` - (Optional, String) Origin-Pull url rewrite action. valid values are: replace: replace the path prefix; addPrefix: add the path prefix; rmvPrefix: remove the path prefix.
717+
* `regex` - (Optional, String) Origin URL Rewrite uses a regular expression for matching the complete path. It must conform to the Google RE2 specification and have a length range of 1 to 1024. This field is required when the Action is regexReplace; otherwise, it is optional.
717718
* `type` - (Optional, String) Origin-Pull url rewriting type, only path is supported.
718719
* `value` - (Optional, String) Origin-Pull url rewrite value, maximum length 1024, must start with /.note: when action is addprefix, it cannot end with /; when action is rmvprefix, * cannot be present.
719720

website/docs/r/teo_l7_acc_rule_v2.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ The `upstream_request_parameters` object of `actions` supports the following:
468468
The `upstream_url_rewrite_parameters` object of `actions` supports the following:
469469

470470
* `action` - (Optional, String) Origin-Pull url rewrite action. valid values are: replace: replace the path prefix; addPrefix: add the path prefix; rmvPrefix: remove the path prefix.
471+
* `regex` - (Optional, String) Origin URL Rewrite uses a regular expression for matching the complete path. It must conform to the Google RE2 specification and have a length range of 1 to 1024. This field is required when the Action is regexReplace; otherwise, it is optional.
471472
* `type` - (Optional, String) Origin-Pull url rewriting type, only path is supported.
472473
* `value` - (Optional, String) Origin-Pull url rewrite value, maximum length 1024, must start with /.note: when action is addprefix, it cannot end with /; when action is rmvprefix, * cannot be present.
473474

0 commit comments

Comments
 (0)