In Nginx, how to match and entire URL and Query String and redirect to a URL and Query String
问题 I have been searching for a while now, trying work arounds and haven't come up with anything useful. I have a (large) list of URL's from an site migration and need to match the entire URL + Query String and redirect to another URL. As far as I can see the following only matches /mens , but not the rest of the query string. rewrite "^/mens?brand%5B%5D=27§ion%5B%5D=5&price-min=0&price-max=2000&sort=newest" "/t/gender/men" permanent; The reason it's important is that I have a bunch of