reCAPTCHA protects you against spam and other types of automated abuse. You can block abusive form submissions by spam bots.
Extending NGINX is much easier than you might think. I illustrates this by walking you through the process of creating virtual hosts on web server.