System Information
- Strapi Version: 4
- Operating System: windows
- Database: sqlite
- Node Version: 18
- NPM Version: 9.5.1
- Yarn Version: /
Hi,
I’m new to strapi and deployment on a web server. I’m trying to deploy my strapi app, that works locally on a classical web server, o2switch. My domaine name on the web server is rsantacruz.fr. My stapi app has been cloned to sub-directory called RicardoBackend. I use this in my server.js config file:
module.exports = ({ env }) => ({
host: env(‘HOST’, ‘rsantacruz.fr’),
port: env.int(‘PORT’, 1339),
app: {
keys: env.array(‘APP_KEYS’),
},
webhooks: {
populateRelations: env.bool(‘WEBHOOKS_POPULATE_RELATIONS’, false),
},
url: ‘/RicardoBackend’
});
I’ve changed the port 1337 to 1339 because the server told me before that the 1337 port is already used.
I don’t know if I should let the value 0.0.0.0 for the host.