Skip to content

Commit c6bca80

Browse files
committed
Enable proxy protocol on FTP NLB
1 parent 33fcbf8 commit c6bca80

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎spire/templates/apps/exchange.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,8 @@ Resources:
20142014
TargetGroupAttributes:
20152015
- Key: deregistration_delay.timeout_seconds
20162016
Value: "30"
2017+
- Key: proxy_protocol_v2.enabled
2018+
Value: true
20172019
Targets:
20182020
- Id: !Select [0, !GetAtt FtpServerIpAddresses.PrivateIpAddresses]
20192021
- Id: !Select [1, !GetAtt FtpServerIpAddresses.PrivateIpAddresses]
@@ -2055,6 +2057,8 @@ Resources:
20552057
TargetGroupAttributes:
20562058
- Key: deregistration_delay.timeout_seconds
20572059
Value: "30"
2060+
- Key: proxy_protocol_v2.enabled
2061+
Value: true
20582062
TargetType: ip
20592063
Tags:
20602064
- { Key: Name, Value: !Sub "${RootStackName}_exchange_sftp" }
@@ -2094,6 +2098,8 @@ Resources:
20942098
TargetGroupAttributes:
20952099
- Key: deregistration_delay.timeout_seconds
20962100
Value: "30"
2101+
- Key: proxy_protocol_v2.enabled
2102+
Value: true
20972103
TargetType: ip
20982104
Tags:
20992105
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8192" }
@@ -2131,6 +2137,8 @@ Resources:
21312137
TargetGroupAttributes:
21322138
- Key: deregistration_delay.timeout_seconds
21332139
Value: "30"
2140+
- Key: proxy_protocol_v2.enabled
2141+
Value: true
21342142
TargetType: ip
21352143
Tags:
21362144
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8193" }
@@ -2168,6 +2176,8 @@ Resources:
21682176
TargetGroupAttributes:
21692177
- Key: deregistration_delay.timeout_seconds
21702178
Value: "30"
2179+
- Key: proxy_protocol_v2.enabled
2180+
Value: true
21712181
TargetType: ip
21722182
Tags:
21732183
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8194" }
@@ -2205,6 +2215,8 @@ Resources:
22052215
TargetGroupAttributes:
22062216
- Key: deregistration_delay.timeout_seconds
22072217
Value: "30"
2218+
- Key: proxy_protocol_v2.enabled
2219+
Value: true
22082220
TargetType: ip
22092221
Tags:
22102222
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8195" }
@@ -2242,6 +2254,8 @@ Resources:
22422254
TargetGroupAttributes:
22432255
- Key: deregistration_delay.timeout_seconds
22442256
Value: "30"
2257+
- Key: proxy_protocol_v2.enabled
2258+
Value: true
22452259
TargetType: ip
22462260
Tags:
22472261
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8196" }
@@ -2279,6 +2293,8 @@ Resources:
22792293
TargetGroupAttributes:
22802294
- Key: deregistration_delay.timeout_seconds
22812295
Value: "30"
2296+
- Key: proxy_protocol_v2.enabled
2297+
Value: true
22822298
TargetType: ip
22832299
Tags:
22842300
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8197" }
@@ -2316,6 +2332,8 @@ Resources:
23162332
TargetGroupAttributes:
23172333
- Key: deregistration_delay.timeout_seconds
23182334
Value: "30"
2335+
- Key: proxy_protocol_v2.enabled
2336+
Value: true
23192337
TargetType: ip
23202338
Tags:
23212339
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8198" }
@@ -2353,6 +2371,8 @@ Resources:
23532371
TargetGroupAttributes:
23542372
- Key: deregistration_delay.timeout_seconds
23552373
Value: "30"
2374+
- Key: proxy_protocol_v2.enabled
2375+
Value: true
23562376
TargetType: ip
23572377
Tags:
23582378
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8199" }
@@ -2390,6 +2410,8 @@ Resources:
23902410
TargetGroupAttributes:
23912411
- Key: deregistration_delay.timeout_seconds
23922412
Value: "30"
2413+
- Key: proxy_protocol_v2.enabled
2414+
Value: true
23932415
TargetType: ip
23942416
Tags:
23952417
- { Key: Name, Value: !Sub "${RootStackName}_exchange_ftp-8200" }

0 commit comments

Comments
 (0)