System Information
- **Strapi Version4.0.5:
- Operating System:
- **DatabasePostgreSQL:
- **Node Version16.14.0:
- NPM Version:
- Yarn Version:
I have just deployed my first Strapi app onto DigitalOcean. Build is complete and I receive the following URL’s from DO:
[2022-02-10 15:11:34] Welcome back!
[2022-02-10 15:11:34] To manage your project , go to the administration panel at:
[2022-02-10 15:11:34] http://0.0.0.0:8080/[do_url].ondigitalocean.app/admin
[2022-02-10 15:11:34]
[2022-02-10 15:11:34] To access the server , go to:
[2022-02-10 15:11:34] http://0.0.0.0:8080/[do_url].ondigitalocean.app
As you can see there is 0.0.0.0:8080 before the actual URL. I can’t seem to get rid of this.
My /config/env/production/server.js file is as follows:
module.exports = ({ env }) => ({
url: '[do_url].ondigitalocean.app/'
});
I guess the 0.0.0.0:8080 is coming from the /config/server.js file, as follows:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
});
How can I fix this so that I can reach my Strapi instance?
Thanks in advance,
Mike