Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added start-nginx script

Blue Mouse4bce531d9604
diff --git a/start-ngnix.sh b/start-ngnix.sh
new file mode 100644
index 000000000..0e9c79097
--- /dev/null
+++ b/start-ngnix.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+export EXISTING_VARS=$(printenv | awk -F= '{print $1}' | sed 's/^/\$/g' | paste -sd,);
+for file in $JSFOLDER;
+do
+ cat $file | envsubst $EXISTING_VARS | tee $file
+done
+nginx -g 'daemon off;'