Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

trouble changing uri to query string (no replies)

$
0
0
i have a url looking as such:  mysite.com/some/path/rest/v2/giveit.view&user=282&imageid=23&size=80

 i want the cache key to match imageid=23&size=80 without the "user" part.



$args isn't matching because incoming url lacks the "?" part, so $uri is detected as mysite.com/some/path/rest/v2/giveit.view&imageid=23&size=80


Is there a way i could force nginx to detect that query string, or rewrite/set the args on each request ?


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>