diff --git a/.gitignore b/.gitignore index cf2bdea..264d252 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,7 @@ venv.bak/ deployments/* nginx-confs/* -*keys.txt \ No newline at end of file +*keys.txt + +# Ignore the nginx conf for sarthi +sarthi.conf \ No newline at end of file diff --git a/sarthi.conf b/sarthi.conf.template similarity index 100% rename from sarthi.conf rename to sarthi.conf.template diff --git a/setup-sarthi.sh b/setup-sarthi.sh index b853ece..dbdb99d 100755 --- a/setup-sarthi.sh +++ b/setup-sarthi.sh @@ -70,7 +70,7 @@ echo "ENV='$ENV'" >> .env echo "DOMAIN_NAME='$DOMAIN_NAME'" >> .env echo "SECRET_TEXT='$SECRET_TEXT'" >> .env -sed -i "s/domain_name/$DOMAIN_NAME/g" "sarthi.conf" +sed "s/domain_name/$DOMAIN_NAME/g" "sarthi.conf.template" > "sarthi.conf" # Start Grafaa + Loki services echo -e "${YELLOW}${POINT} Starting Loki + Grafana to export logs ${NC}"