From a2f77ef8b55df91ca9e45cc23e382540cec818a4 Mon Sep 17 00:00:00 2001 From: slawk0 Date: Fri, 22 Nov 2024 15:33:02 +0100 Subject: [PATCH] nginx you dump f --- nginx.conf | 1 + server/db/db.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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