[GitHub] [apisix] pengtaochang commented on issue #3722: request help: How to set path supports regular matching like nginx

2021-03-02 Thread GitBox


pengtaochang commented on issue #3722:
URL: https://github.com/apache/apisix/issues/3722#issuecomment-789509088


   Now, I have to change the code of ngx_tpl.lua.



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.

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




[GitHub] [apisix] pengtaochang commented on issue #3722: request help: How to set path supports regular matching like nginx

2021-03-02 Thread GitBox


pengtaochang commented on issue #3722:
URL: https://github.com/apache/apisix/issues/3722#issuecomment-789508769


   This is a common feature and hopefully can be supported later



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.

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




[GitHub] [apisix] pengtaochang commented on issue #3722: request help: How to set path supports regular matching like nginx

2021-03-02 Thread GitBox


pengtaochang commented on issue #3722:
URL: https://github.com/apache/apisix/issues/3722#issuecomment-789508211


   Yes, that's redirect with uri matching  parameters. I also read the doc of 
redirect. It doesn't look like it's 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.

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




[GitHub] [apisix] pengtaochang commented on issue #3722: request help: How to set path supports regular matching like nginx

2021-03-02 Thread GitBox


pengtaochang commented on issue #3722:
URL: https://github.com/apache/apisix/issues/3722#issuecomment-789382430


   I have used the proxy-rewrite plugin. It can redirect to right page in 
apisix and return right html file. But, the client Browser need to redirect to 
another path so that display correctly.  I have read the doc of 
response-rewrite, but I still can't find how to get regular value in uri. 



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.

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




[GitHub] [apisix] pengtaochang commented on issue #3722: request help: How to set path supports regular matching like nginx

2021-03-02 Thread GitBox


pengtaochang commented on issue #3722:
URL: https://github.com/apache/apisix/issues/3722#issuecomment-788766960


   I understand the method to match route through vars regular. I still need to 
know the regualr value so that I redirect to another uri.Could you gave some 
tips? thank you very much!



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.

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




[GitHub] [apisix] pengtaochang commented on issue #3722: request help: How to set path supports regular matching like nginx

2021-03-01 Thread GitBox


pengtaochang commented on issue #3722:
URL: https://github.com/apache/apisix/issues/3722#issuecomment-788553091


   I don’t understand what you mean, you can post a link to the document or 
some demo, thank you very much!



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.

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