Skip to content

Commit 2d399cc

Browse files
Merge pull request #317 from hzoppetti/nb-proxyprotocol-sup
[Update] NodeBalancer Config with ProxyProtocol
2 parents 0f58157 + e572184 commit 2d399cc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

openapi.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9499,6 +9499,7 @@ paths:
94999499
"check_path": "/test",
95009500
"check_body": "it works",
95019501
"check_passive": true,
9502+
"proxy_protocol": "v1",
95029503
"cipher_suite": "recommended"
95039504
}' \
95049505
https://api.linode.com/v4/nodebalancers/12345/configs
@@ -9516,6 +9517,7 @@ paths:
95169517
--check_path "/test" \
95179518
--check_body "it works" \
95189519
--check_passive true \
9520+
--proxy_protocol "v1" \
95199521
--cipher_suite recommended
95209522
/nodebalancers/{nodeBalancerId}/configs/{configId}:
95219523
parameters:
@@ -9610,6 +9612,7 @@ paths:
96109612
"check_path": "/test",
96119613
"check_body": "it works",
96129614
"check_passive": true,
9615+
"proxy_protocol": "v1",
96139616
"cipher_suite": "recommended"
96149617
}' \
96159618
https://api.linode.com/v4/nodebalancers/12345/configs/4567
@@ -9628,6 +9631,7 @@ paths:
96289631
--check_path "/test" \
96299632
--check_body "it works" \
96309633
--check_passive true \
9634+
--proxy_protocol "v1" \
96319635
--cipher_suite recommended
96329636
delete:
96339637
x-linode-grant: read_write
@@ -9759,6 +9763,7 @@ paths:
97599763
"check_path": "/test",
97609764
"check_body": "it works",
97619765
"check_passive": true,
9766+
"proxy_protocol": "v1",
97629767
"cipher_suite": "recommended",
97639768
"nodes": [
97649769
{
@@ -9792,6 +9797,7 @@ paths:
97929797
--check_path "/test" \
97939798
--check_body "it works" \
97949799
--check_passive true \
9800+
--proxy_protocol "v1" \
97959801
--cipher_suite recommended
97969802
/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes:
97979803
parameters:
@@ -17218,6 +17224,27 @@ components:
1721817224
enough for it to be considered unhealthy and taken out of rotation.
1721917225
example: true
1722017226
x-linode-cli-display: 6
17227+
proxy_protocol:
17228+
description: >
17229+
ProxyProtocol is a TCP extension that sends initial TCP connection
17230+
information such as source/destination IPs and ports to backend devices.
17231+
This information would be lost otherwise. Backend devices must be
17232+
configured to work with ProxyProtocol if enabled.
17233+
17234+
17235+
* If ommited, or set to `none`, the NodeBalancer doesn't send any auxilary
17236+
data over TCP connections. This is the default.
17237+
17238+
* If set to `v1`, the human-readable header format (Version 1) is used.
17239+
17240+
* If set to `v2`, the binary header format (Version 2) is used.
17241+
type: string
17242+
enum:
17243+
- none
17244+
- v1
17245+
- v2
17246+
example: none
17247+
default: none
1722117248
cipher_suite:
1722217249
type: string
1722317250
enum:

0 commit comments

Comments
 (0)