Is it possible in the nginx.conf file to limit incoming POST requests to just a few pages?
Say I only want to allow post requests on signup.php and login.php but not on all other possible pages.
Reason why I ask is that my server often gets flooded with POST requests on random pages, which causes unnecessary load.
I tried blocking it in PHP, but in this case nginx still has to process and accept the full POST data. This i'm trying to prevent.