fix nginx views and controller