You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-lbacl-create-usage.golden
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ ARGS:
13
13
[action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}
14
14
[action.redirect.code] HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302
15
15
[match.ip-subnet.{index}] List of IPs or CIDR v4/v6 addresses to filter for from the client side
16
+
[match.ips-edge-services] Defines whether Edge Services IPs should be matched
16
17
[match.http-filter] Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends (acl_http_filter_none | path_begin | path_end | regex | http_header_match)
17
18
[match.http-filter-value.{index}] List of values to filter for
18
19
[match.http-filter-option] Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-lbacl-set-usage.golden
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ ARGS:
12
12
[acls.{index}.action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}
13
13
[acls.{index}.action.redirect.code] HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302
14
14
[acls.{index}.match.ip-subnet.{index}] List of IPs or CIDR v4/v6 addresses to filter for from the client side
15
+
[acls.{index}.match.ips-edge-services] Defines whether Edge Services IPs should be matched
15
16
[acls.{index}.match.http-filter] Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends (acl_http_filter_none | path_begin | path_end | regex | http_header_match)
16
17
[acls.{index}.match.http-filter-value.{index}] List of values to filter for
17
18
[acls.{index}.match.http-filter-option] Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-lbacl-update-usage.golden
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ ARGS:
13
13
[action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}
14
14
[action.redirect.code] HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302
15
15
[match.ip-subnet.{index}] List of IPs or CIDR v4/v6 addresses to filter for from the client side
16
+
[match.ips-edge-services] Defines whether Edge Services IPs should be matched
16
17
[match.http-filter] Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends (acl_http_filter_none | path_begin | path_end | regex | http_header_match)
17
18
[match.http-filter-value.{index}] List of values to filter for
18
19
[match.http-filter-option] Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`
| action.redirect.target || Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}|
97
97
| action.redirect.code || HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 |
98
98
| match.ip-subnet.{index} || List of IPs or CIDR v4/v6 addresses to filter for from the client side |
99
+
| match.ips-edge-services || Defines whether Edge Services IPs should be matched |
99
100
| match.http-filter | One of: `acl_http_filter_none`, `path_begin`, `path_end`, `regex`, `http_header_match`| Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends |
100
101
| match.http-filter-value.{index} || List of values to filter for |
101
102
| match.http-filter-option || Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`|
@@ -189,6 +190,7 @@ scw lb acl set [arg=value ...]
189
190
| acls.{index}.action.redirect.target || Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}|
190
191
| acls.{index}.action.redirect.code || HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 |
191
192
| acls.{index}.match.ip-subnet.{index} || List of IPs or CIDR v4/v6 addresses to filter for from the client side |
193
+
| acls.{index}.match.ips-edge-services || Defines whether Edge Services IPs should be matched |
192
194
| acls.{index}.match.http-filter | One of: `acl_http_filter_none`, `path_begin`, `path_end`, `regex`, `http_header_match`| Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends |
193
195
| acls.{index}.match.http-filter-value.{index} || List of values to filter for |
194
196
| acls.{index}.match.http-filter-option || Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`|
| action.redirect.target || Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}|
223
225
| action.redirect.code || HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 |
224
226
| match.ip-subnet.{index} || List of IPs or CIDR v4/v6 addresses to filter for from the client side |
227
+
| match.ips-edge-services || Defines whether Edge Services IPs should be matched |
225
228
| match.http-filter | One of: `acl_http_filter_none`, `path_begin`, `path_end`, `regex`, `http_header_match`| Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends |
226
229
| match.http-filter-value.{index} || List of values to filter for |
227
230
| match.http-filter-option || Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`|
Short: `Defines whether Edge Services IPs should be matched`,
2738
+
Required: false,
2739
+
Deprecated: false,
2740
+
Positional: false,
2741
+
},
2735
2742
{
2736
2743
Name: "match.http-filter",
2737
2744
Short: `Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends`,
Short: `Defines whether Edge Services IPs should be matched`,
2923
+
Required: false,
2924
+
Deprecated: false,
2925
+
Positional: false,
2926
+
},
2913
2927
{
2914
2928
Name: "match.http-filter",
2915
2929
Short: `Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends`,
Short: `Defines whether Edge Services IPs should be matched`,
3108
+
Required: false,
3109
+
Deprecated: false,
3110
+
Positional: false,
3111
+
},
3091
3112
{
3092
3113
Name: "acls.{index}.match.http-filter",
3093
3114
Short: `Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends`,
0 commit comments