server { ... access_by_lua_block { } location / { } location /myPath { } location /exceptionPath { } ...}