disable .php files uploads using php (php-fpm)

Christos Chatzaras chris at cretaforce.gr
Sun Aug 28 17:00:59 UTC 2016


Is any way to get the body of a php post upload to match using regex the filename of a php upload? I want to block file uploads with .php extension. I found that I can do it with nasxi but I want to see if I can avoid it.


More information about the nginx mailing list