This commit is contained in:
ivan 2026-09-02 14:10:34 +05:00
parent 510cf875f4
commit 26c05888f6

View File

@ -104,11 +104,11 @@ data:
add_header Content-Type application/wasm always;
alias /opt/react_client/static/viewer-pdf/mupdf-wasm.wasm;
}
location ~^/api/pm/ {
#rewrite /api/(.+) /$1 break;
proxy_set_header Host $host;
proxy_pass http://backend-service.pm.svc.cluster.local:8000;
}
# location ~^/api/pm/ {
# #rewrite /api/(.+) /$1 break;
# proxy_set_header Host $host;
# proxy_pass http://backend-service.pm.svc.cluster.local:8000;
# }
location ~^/media/ {
rewrite ^/media/(.*)$ /$1 break;