Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
Test if a variable exists
Posted by
double
Forum List
Message List
New Topic
double
Test if a variable exists
October 30, 2011 01:39PM
Registered: 14 years ago
Posts: 48
Hello,
Is it possible to check if a variable exists, even empty?
e.g.
http://name.com/?hugo
NGINX:
if ($http_hugo) {
return 404;
}
Will return "false".
Thanks a lot
Markus
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: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018