how to create a simplest WAF using nginx-lua? for example i want to block POST request (form-data) sent to /customer/account/createpost which has 'firstname' longer than 20 character or containing URL.
I tried resty.post but i'm stuck at attempt to index local m ( nil value) error.