Add boilerplate nginx setup for prod self-hosting

This commit is contained in:
Tuan Dang
2022-11-18 18:12:27 -05:00
parent 688aa856ab
commit baa0a21b38
9 changed files with 148 additions and 92 deletions

View File

@@ -38,6 +38,7 @@ import {
} from './routes';
const connectWithRetry = () => {
console.log('MONGO_URL', MONGO_URL);
mongoose.connect(MONGO_URL)
.then(() => console.log('Successfully connected to DB'))
.catch((e) => {