Easily configure a performant, secure, and stable NGINX server.Learn More
All old project get connected to the last mysql database created
After a long search in many platform for someone who have same issue but i didn’t find any solution....
i have deployed 2 express api in same droplet using nginx blocks following this tutorial who is really great and thanks to their authors.
Now when i end deploying first project everything work fine but when i do same for the other project my second project work fine also but my first project get connected automatically to the second database created.
my .env file on the first project look like this.
my .env file on the second project look like this.