Nginx error when access my IP

I created a project using Strapi 3.3.4 and and follow the instructions to Deploy with One-Click.

Clone my local project in /srv/strapi/strapi-production and ran pm2 start config/server.js

But when try access http://161.35.4.15/ the Nginx returns 502 and pm2 logs is empty.

My server.js:

  url: env('URL', '127.0.0.1'),
  host: env('HOST', '0.0.0.0'),
  port: env.int('PORT', 1337),

Set URL with my droplet IP inside .env and Nginx configuration as default.

I tried run yarn develop and works but the returns 502.

I assume you figured it out since that URL is now directing to HTTPS and load correctly?

https://161.35.4.15/
admin.beautyclass.tv