Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
Where is the location of "if" statement?
Posted by
hack3rcon
Forum List
Message List
New Topic
hack3rcon
Where is the location of "if" statement?
January 13, 2019 05:03AM
Registered: 9 years ago
Posts: 5
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.
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018