Spaces:
Running
Running
fix(chart): add ADDRESS_HEADER and XFF_DEPTH for IP rate limiting (#1105)
Browse files* fix(chart): add ADDRESS_HEADER and XFF_DEPTH for IP rate limiting
* sort in alphabetical order
- chart/env/prod.yaml +2 -0
chart/env/prod.yaml
CHANGED
@@ -23,6 +23,7 @@ ingress:
|
|
23 |
kubernetes.io/ingress.class: "alb"
|
24 |
|
25 |
envVars:
|
|
|
26 |
ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
|
27 |
APP_BASE: "/chat"
|
28 |
ENABLE_ASSISTANTS: "true"
|
@@ -308,6 +309,7 @@ envVars:
|
|
308 |
}]
|
309 |
}]
|
310 |
WEBSEARCH_BLOCKLIST: '["youtube.com", "twitter.com"]'
|
|
|
311 |
|
312 |
externalSecrets:
|
313 |
enabled: true
|
|
|
23 |
kubernetes.io/ingress.class: "alb"
|
24 |
|
25 |
envVars:
|
26 |
+
ADDRESS_HEADER: 'X-Forwarded-For'
|
27 |
ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
|
28 |
APP_BASE: "/chat"
|
29 |
ENABLE_ASSISTANTS: "true"
|
|
|
309 |
}]
|
310 |
}]
|
311 |
WEBSEARCH_BLOCKLIST: '["youtube.com", "twitter.com"]'
|
312 |
+
XFF_DEPTH: '2'
|
313 |
|
314 |
externalSecrets:
|
315 |
enabled: true
|