fix: tool icons are missing (#15241)
This commit is contained in:
parent
cfd7e8a829
commit
908a7b6c3d
1 changed files with 13 additions and 0 deletions
|
|
@ -4,6 +4,19 @@ server {
|
||||||
listen ${NGINX_PORT};
|
listen ${NGINX_PORT};
|
||||||
server_name ${NGINX_SERVER_NAME};
|
server_name ${NGINX_SERVER_NAME};
|
||||||
|
|
||||||
|
# Rule 1: Handle application entry points (preserve /app/{id})
|
||||||
|
location ~ ^/app/[a-f0-9-]+$ {
|
||||||
|
proxy_pass http://api:5001;
|
||||||
|
include proxy.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Rule 2: Handle static resource requests (remove /app/{id} prefix)
|
||||||
|
location ~ ^/app/[a-f0-9-]+/(console/api/.*)$ {
|
||||||
|
rewrite ^/app/[a-f0-9-]+/(.*)$ /$1 break;
|
||||||
|
proxy_pass http://api:5001;
|
||||||
|
include proxy.conf;
|
||||||
|
}
|
||||||
|
|
||||||
location /console/api {
|
location /console/api {
|
||||||
proxy_pass http://api:5001;
|
proxy_pass http://api:5001;
|
||||||
include proxy.conf;
|
include proxy.conf;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue