Fix for query strings not passing in nginx