File uploads are passed in the request body, not the headers so you cannot
disable or otherwise affect them by setting HTTP_X variables. This is a job
for your backend as nginx does not really interact with post body contents.
On Tue, Aug 30, 2016 at 1:54 AM, c0nw0nk
wrote:
> Christos Chatzaras
Christos Chatzaras Wrote:
---
> 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
> c
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.
___
nginx mailing list
nginx@ng