Fix SSL redirect issue + fix root path in Nginx