diff --git a/conf/credentials.json b/conf/credentials.json index 5bea828..609603b 100644 --- a/conf/credentials.json +++ b/conf/credentials.json @@ -25,6 +25,7 @@ "dbSettings" : { "user" : "__DB_NAME__", "host" : "localhost", + "port" : 5432, "password": "__DB_PWD__", "database": "__DB_NAME__" }, diff --git a/conf/nginx.conf b/conf/nginx.conf index bff47bc..8a3d399 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,7 +5,7 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass http://127.0.0.1:__PORT__/; + proxy_pass http://127.0.0.1:__PORT__; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/scripts/_common.sh b/scripts/_common.sh index b31c95a..5075c93 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql apt-transport-https" +pkg_dependencies="postgresql postgresql-contrib apt-transport-https" nodejs_version=12