fix nginx unittests