# /etc/nginx/snippets/captcha.conf # Include this inside every `server { ... }` you want to protect. location = /__ts/verify { content_by_lua_block { require("captcha").verify() } }