server {
location / {
if ( $arg_something = test ) {
return 403 sorry;
}
}
}
server {
- virtual server configuration blocklocation / {
- default location block$arg_something
- getssomething
query string parameter value (e.g.example.org/?something=test
)test
- sample value to check againstreturn 403 sorry;
- return403
header