fix nginx check