use correct uri parameter (, which includes querystring in cache key) in nginx config