add jQuery-like query for nginx config