HOST=127.0.0.1
PORT=1337
APP_URL=http://domain-name
HOST should contain your internal address, not the external one, 127.0.0.1 or localhost.
For nodejs apps with proxy pass you don’t need to declare root folder in nginx, în current case /public folder is served by Strapi, not by nginx as a static folder.