I want to match query string in location.
Is it possible?
i have requests:
http://example.cz/test.jpg
http://example.cz/test.jpg?test=1
my locations:
[i]location /[/i] { //match any requests
[i]location ~* .*\?.*$ {[/i] //could be match only test.jpg?test=1, but no :-(
I don't' want to use [i]if[/i] condition.
I want to do this with [i]location[/i]...
Thanks