This commit is contained in:
ivan 2026-07-31 17:53:50 +05:00
parent c470dacee3
commit 80da663600

View File

@ -64,6 +64,8 @@ data:
} }
location ~^/api/pm/ { location ~^/api/pm/ {
#rewrite /api/(.+) /$1 break; #rewrite /api/(.+) /$1 break;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_pass http://backend-svc.pm.svc.cluster.local:8000; proxy_pass http://backend-svc.pm.svc.cluster.local:8000;
} }
@ -75,6 +77,8 @@ data:
# } # }
location ~^/(api|admin)/ { location ~^/(api|admin)/ {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_pass http://backend-svc.django.svc.cluster.local:80; proxy_pass http://backend-svc.django.svc.cluster.local:80;
} }
@ -102,6 +106,8 @@ data:
} }
location ~^/workflows/(.+).js { location ~^/workflows/(.+).js {
proxy_http_version 1.1;
proxy_set_header Connection "";
rewrite /workflows/(.+) /$1 break; rewrite /workflows/(.+) /$1 break;
proxy_pass http://frontend-svc.processing.svc.cluster.local:80; proxy_pass http://frontend-svc.processing.svc.cluster.local:80;
} }