SKDragon18 opened a new issue, #12163:
URL: https://github.com/apache/apisix/issues/12163

   ### Description
   
   Hi, I'm configuring APISIX to route requests from 
domain-apisix/service1/webui/* to localhost:8000/* using URL rewrite.
   
   However, the problem is that the frontend app uses relative paths like 
./static/file.js to load JS files. As a result, the browser tries to fetch from 
domain-apisix/static/file.js, which does not exist (it should be 
domain-apisix/service1/webui/static/file.js instead).
   
   Is there any way to fix this using only APISIX configuration, without 
modifying the frontend?
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to