This commit is contained in:
ivan 2026-07-29 19:05:27 +05:00
parent 5726d02b62
commit 91d1e6c52c
3 changed files with 38 additions and 24 deletions

View File

@ -84,3 +84,17 @@ spec:
- key: nginx.conf - key: nginx.conf
path: path:
_default: nginx.conf _default: nginx.conf
- name: zitadel-configmap
mountPath:
_default: /opt/react_client/static/config.json
subPath:
_default: config.json
readOnly:
_default: true
configMap:
name:
_default: zitadel-configmap
items:
- key: config.json
path:
_default: config.json

View File

@ -62,36 +62,36 @@ data:
if_modified_since off; if_modified_since off;
expires off; expires off;
} }
location ~^/api/pm/ { # location ~^/api/pm/ {
#rewrite /api/(.+) /$1 break; # #rewrite /api/(.+) /$1 break;
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;
} # }
location ~^/api/v1/documents/ { # location ~^/api/v1/documents/ {
#rewrite /api/(.+) /$1 break; # #rewrite /api/(.+) /$1 break;
proxy_set_header Host $host; # proxy_set_header Host $host;
proxy_pass http://backend-filestream-svc.documentations.svc.cluster.local:80; # proxy_pass http://backend-filestream-svc.documentations.svc.cluster.local:80;
} # }
# location ~^/(api|admin)/ { # location ~^/(api|admin)/ {
# 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;
# } # }
location ~^/workspaces-v2/(.+).js { # location ~^/workspaces-v2/(.+).js {
proxy_http_version 1.1; # proxy_http_version 1.1;
proxy_set_header Connection ""; # proxy_set_header Connection "";
rewrite /workspaces-v2/(.+) /$1 break; # rewrite /workspaces-v2/(.+) /$1 break;
proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80; # proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
} # }
location ~^/workspaces-v2/(.+)\.wasm$ { # location ~^/workspaces-v2/(.+)\.wasm$ {
proxy_http_version 1.1; # proxy_http_version 1.1;
proxy_set_header Connection ""; # proxy_set_header Connection "";
rewrite ^/workspaces-v2/(.+) /$1 break; # rewrite ^/workspaces-v2/(.+) /$1 break;
proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80; # proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
} # }
location @index { location @index {
add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0'; add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0';

View File

@ -8,8 +8,8 @@ data:
{ {
"auth_type": "zitadel", "auth_type": "zitadel",
"zitadel": { "zitadel": {
"client_id": "379557107642492501", "client_id": "383923818340615274",
"host": "https://zitadel.contour.infra.sarex.tech" "host": "https://sarex-login.uralmine.com"
} }
} }