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 2020/06/09 16:01:00 UTC

[GitHub] [incubator-apisix] guoweia opened a new issue #1677: request help: Questions about suffix matching

guoweia opened a new issue #1677:
URL: https://github.com/apache/incubator-apisix/issues/1677


   ### Issue description
   How to implement such a routing configuration.
   
   location ~* \.(js|css|flash|media|jpg|png|gif|dll|cab|CAB|ico|vbs|json|txt)$ {
     ...
   }
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:centos 7.2
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-apisix] membphis commented on issue #1677: request help: Questions about suffix matching

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1677:
URL: https://github.com/apache/incubator-apisix/issues/1677#issuecomment-641307238


   here is an example:
   
   ```
   {
       "uri": "/*",
       "vars": [
           ["uri", "~~", "(...|ico|txt)$"]
       ]
   }
   ```


----------------------------------------------------------------
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:
users@infra.apache.org