You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/28 06:54:01 UTC

[GitHub] [apisix] ipanocloud opened a new issue, #7558: proxy-rewrite plugin not support multi regex_uri

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

   ### Description
   
   `
   "proxy-rewrite": {
         "regex_uri": [
           "(^/message/message-center-mqtt-client/(.*)|^/message/internal/message-center-mqtt-client/(.*))",
           "/$1"
         ]
       }
   `
   see this case


-- 
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-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix] github-actions[bot] commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1708046848

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] github-actions[bot] commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1689671659

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] ipanocloud commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
ipanocloud commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1197780986

   ```json
   {
       "proxy-rewrite":{
           "regex_uri":[
               "^(/message/message-center-mqtt-client/|/message/internal/message-center-mqtt-client/)(.*)",
               "/$1"
           ]
       }
   }
   ```


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] Mar1usSo commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
Mar1usSo commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1237601730

   Hello,
   We are facing the same problem while migrating Gateway from Nginx to apisix.
   Cause we have lots of Rewrite rule 


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] Hazel6869 commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
Hazel6869 commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1198806402

   I think we need to make two improvements: first, the size of the regex_uri  array  is marked as two on the document. later, we are doing functional optimization, multiple regex_uri supported .   cc @kingluo what do you think about this.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] Hazel6869 commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
Hazel6869 commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1198922885

   @spacewander  I think the first one is the optimization of the document, the status is easy to misunderstand (ab ---> ababab), the second,  multiple regex_uri supported needs to be evaluated. 


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] Hazel6869 commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
Hazel6869 commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1197925259

   see https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] spacewander commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1198917832

   @Hazel6869 
   Could you provide some reasons (use cases or the other) to make these two improvements?
   And what do you want to see after the improvements?


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] tokers commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1238040294

   @Hazel6869 Please take a look when you have time.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] tokers commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1198799359

   @ipanocloud May I know the use case or pain point that you're facing? Currently, it's indeed that only one `regex_uri` is supported .


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] tzssangglass commented on issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7558:
URL: https://github.com/apache/apisix/issues/7558#issuecomment-1200595736

   Let's start by understanding what problems are solved by supporting multiple `regex_uri`. cc @ipanocloud 


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] github-actions[bot] closed issue #7558: proxy-rewrite plugin not support multi regex_uri

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7558: proxy-rewrite plugin not support multi regex_uri
URL: https://github.com/apache/apisix/issues/7558


-- 
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-unsubscribe@apisix.apache.org

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