fix nginx prerequisities