Can anyone help me with nginx "location" I want to add this block to my nginx conf
location / {
limit_conn zone_name 8;
}
I need to modify location to /folder/index.php?file=x Where x can be an string (e.g 7fe8j)
Thanks
Can anyone help me with nginx "location" I want to add this block to my nginx conf
location / {
limit_conn zone_name 8;
}
I need to modify location to /folder/index.php?file=x Where x can be an string (e.g 7fe8j)
Thanks
The short answer is you can't.
limit_conn
directive only works inhttp
,server
,location
context. Andlocation
directive only match against the URI (/folder/index.php
) without query parameters (?file=x
).