Hello,
What is the most efficient way to define a location directive which match something like
location = /[0-9a-zA-Z_-]{1,6} { content_by_lua_file ....}
In other words an uri which matches a string from 1 to 6 characters with "-", "_", digits and letters.
Or is it faster to check the string length within my LUA code which will generate the output by using a location directive like
location / {content_by_lua_file...}
Jérôme