Fix nginx check