Actually doing the following seemed to work.. not sure if there's a better way?
server {
...
access_by_lua_block {
}
location / {
}
location /myPath {
}
location /exceptionPath {
access_by_lua_block {
}
}
...
}
On Wednesday, February 6, 2019 at 9:25:47 AM UTC-5, Nabeel Zafar wrote:
Hi,
I'm using access_by_lua_block within an nginx server block that contains many locations like so:
server {
...
access_by_lua_block {
}
location / {
}
location /myPath {
}
location /exceptionPath {
}
...
}
How can I prevent access_by_lua_block from running for /exceptionPath?
Thanks.