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
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Forum List
Message List
New Topic
hack3rcon
Where is the location of "if" statement?
January 13, 2019 05:03AM
Registered: 10 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
Online Users
Guests: 86
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024