Strapi Deployment

Thanks for your help.

I opened the 1337 port in the firewall (TCP entering and exiting).

I’m using an Apache server (2.4.46), but I’m not so sure if I have enough freedom to configure proxy on a managed hosting.
I can add environment variables though…

Also, I can’t access Strapi either with explicit port (api.mydomain.com:1337) : page not loading, timeout.

Here is my server.js

module.exports = ({ env }) => ({
  host: env('HOST', '0.0.0.0'),
  port: env.int('PORT', 1337),
  url: env('PUBLIC_URL', 'https://api.example.com'),
  admin: {
    auth: {
      secret: env('ADMIN_JWT_SECRET', '[...]'),
    },
  },
});

And .env:

HOST=0.0.0.0
PORT=1337
PUBLIC_URL=[the API real url] 

Shall I use another hosting solution? If so, are there any recommandation?