Hello.
I want to add below "if" statement:
if ($request_method !~ ^(GET|HEAD|POST)$ )
{
return 405;
}
But where is the location of it? Under "http"?
Thank you.
I want to add below "if" statement:
if ($request_method !~ ^(GET|HEAD|POST)$ )
{
return 405;
}
But where is the location of it? Under "http"?
Thank you.