Revolyssup commented on issue #12163:
URL: https://github.com/apache/apisix/issues/12163#issuecomment-2820183795

   @SKDragon18 Can you try add a base tag like this?
   ```bash
     "plugins": {
       "proxy-rewrite": {
         "regex_uri": ["^/service1/webui/(.*)", "/$1"]
       },
       "response-rewrite": {
         "filters": [
           {
             "regex": "<head>",
             "replace": "<head><base href=\"/service1/webui/\">",
             "scope": "once",  # Replace only the first occurrence
             "options": "jo"   # Regex options (JIT + compile Once)
           }
         ]
       }
     },
   ```


-- 
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

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

Reply via email to