add check for nginx version