fix nginx apt-get and conf
fix npm permissions if needed