Problem when update to 1.8.10 (ifmodule not allowed here))

I got 500 error yesterday on my all websites. its says: “<ifmodule not allowed here …”
So i run this script to change ngnix + apache2 to only ngnix, and now… it show only homepage. but I can not go to internal pages
/ => ok,
/login => 404
Could you help or give me some advise ^^

If you have ran:

You need to edit all templates and asign the correct one for Wordpress and so on

Also rm /usr/local/hestia/conf/defaults/hestia.conf