From c997397d68f6f8fc1fd4d00fe0a9638d0f40167a Mon Sep 17 00:00:00 2001 From: chandi Date: Sun, 6 Sep 2020 14:13:54 +0200 Subject: [PATCH] revert some leftover unrelated changes --- mod/nginx/bbb/bbb-exporter.nginx | 2 +- scripts/setup | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mod/nginx/bbb/bbb-exporter.nginx b/mod/nginx/bbb/bbb-exporter.nginx index 9e49b08..2a2be48 100644 --- a/mod/nginx/bbb/bbb-exporter.nginx +++ b/mod/nginx/bbb/bbb-exporter.nginx @@ -1,4 +1,4 @@ -location /metrics { +location /bbb-exporter { proxy_pass http://10.7.7.33:9688; proxy_http_version 1.1; } \ No newline at end of file diff --git a/scripts/setup b/scripts/setup index 8651e81..370fb6b 100755 --- a/scripts/setup +++ b/scripts/setup @@ -116,11 +116,9 @@ fi RANDOM_1=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 40) RANDOM_2=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 40) RANDOM_3=$(head /dev/urandom | tr -dc a-f0-9 | head -c 128) -RANDOM_4=$(head /dev/urandom | tr -dc A-Za-z0-9_@ | head -c 24) sed -i "s/SHARED_SECRET=.*/SHARED_SECRET=$RANDOM_1/" .env sed -i "s/ETHERPAD_API_KEY=.*/ETHERPAD_API_KEY=$RANDOM_2/" .env sed -i "s/RAILS_SECRET=.*/RAILS_SECRET=$RANDOM_3/" .env -sed -i "s/POSTGRES_PASSWORD=.*/POSTGRES_PASSWORD=$RANDOM_3/" .env echo "--------------------------------------------------" echo "configuration file .env got successfully created!"