COOK-2891: Simply platform check logic for nginx install to catch all RHEL 5 versions