diff --git a/nginx.conf b/nginx.conf index 86cf2e2..06b70f7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,7 @@ server { listen 80; server_name localhost; + client_max_body_size 100G; location / { root /usr/share/nginx/html; diff --git a/server/db/db.js b/server/db/db.js index abc8768..fd16ce6 100644 --- a/server/db/db.js +++ b/server/db/db.js @@ -6,7 +6,7 @@ const client = new Client({ password: process.env.PG_PASSWORD, database: process.env.PG_DATABASE, host: process.env.PG_HOST, - port: 5433, + port: 5432, }); client