Changed the nginx configuration to the one suggested by phalcon