Looking to block any requests that contain the following strings in nginx
'%0d','%0a','%0D','%0A'
Just really looking to return like a 500 error or such.. Nothing fancy
Looking to block any requests that contain the following strings in nginx
'%0d','%0a','%0D','%0A'
Just really looking to return like a 500 error or such.. Nothing fancy
I think a server-level if is what you need. If you want to search the whole request, including args, you should be able to use:
If you just want to check the path part of the uri:
should do the job