We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How to config my nginx conf to run INVO example on localhost?

Project Structure

/var/www/invo/
                  app/
                      config/
                      controllers/
                      library/
                      forms/
                      models/
                      plugins/
                      views/
                  public/
                      bootstrap/
                      css/
                      js/
                  schemas/

If localhost must be config to /var/www dir, How to config my nginx conf to run INVO example on localhost?

You have to setup a host where root path is /var/www/invo/public

https://docs.phalcon.io/en/latest/reference/nginx.html