@@ -148,6 +148,33 @@ data:
148
148
}
149
149
{{- end }}
150
150
151
+ location = /{{ .Values.ingress.subdomain }}/api/runs/multipart {
152
+ rewrite /{{ .Values.ingress.subdomain }}/api/runs/multipart /runs/multipart break;
153
+ proxy_set_header Connection '';
154
+ proxy_http_version 1.1;
155
+ proxy_buffering off;
156
+ proxy_cache off;
157
+ proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }};
158
+ }
159
+
160
+ location = /{{ .Values.ingress.subdomain }}/api/runs/batch {
161
+ rewrite /{{ .Values.ingress.subdomain }}/api/runs/batch /runs/batch break;
162
+ proxy_set_header Connection '';
163
+ proxy_http_version 1.1;
164
+ proxy_buffering off;
165
+ proxy_cache off;
166
+ proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }};
167
+ }
168
+
169
+ location = /{{ .Values.ingress.subdomain }}/api/v1/runs {
170
+ rewrite /{{ .Values.ingress.subdomain }}/api/runs /runs break;
171
+ proxy_set_header Connection '';
172
+ proxy_http_version 1.1;
173
+ proxy_buffering off;
174
+ proxy_cache off;
175
+ proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }};
176
+ }
177
+
151
178
# Deprecated Backend Routes
152
179
location ~ /{{ .Values.ingress.subdomain }}/api {
153
180
rewrite /{{ .Values.ingress.subdomain }}/api/(.*) /api/v1/$1 break;
@@ -340,6 +367,33 @@ data:
340
367
}
341
368
{{- end }}
342
369
370
+ location = /api/runs/multipart {
371
+ rewrite /api/runs/multipart /runs/multipart break;
372
+ proxy_set_header Connection '';
373
+ proxy_http_version 1.1;
374
+ proxy_buffering off;
375
+ proxy_cache off;
376
+ proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }};
377
+ }
378
+
379
+ location = /api/runs/batch {
380
+ rewrite /api/runs/batch /runs/batch break;
381
+ proxy_set_header Connection '';
382
+ proxy_http_version 1.1;
383
+ proxy_buffering off;
384
+ proxy_cache off;
385
+ proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }};
386
+ }
387
+
388
+ location = /api/runs {
389
+ rewrite /api/runs /runs break;
390
+ proxy_set_header Connection '';
391
+ proxy_http_version 1.1;
392
+ proxy_buffering off;
393
+ proxy_cache off;
394
+ proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }};
395
+ }
396
+
343
397
# Deprecated Backend Routes To be removed in v8
344
398
location ~ /api {
345
399
rewrite /api/(.*) /api/v1/$1 break;
0 commit comments