Config/env/production is not considered when NODE_ENV=production

Thanks, @pierreburgy. I could technically remove everything from config/database.js and just put there my production config, but my issue is that the config file config/env/production/database.js is not being processed.

It already has the correct SSL options (suggested in the post you shared) "ssl": { "rejectUnauthorized": false }. Here’s what the file looks like:

But as you can see, I don’t see this console.log in the logs neither this object appears in the final configuration (log my first post)