From 0c903faa0b2c86fb32c648d679d8571ef3c4b391 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Mon, 25 Aug 2025 15:23:51 +0200 Subject: [PATCH] Enhance .env setup with reverse proxy guidance Updated .env configuration with comments for clarity. --- install/tracktor-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/tracktor-install.sh b/install/tracktor-install.sh index 00c6c1d7..6ec206ea 100644 --- a/install/tracktor-install.sh +++ b/install/tracktor-install.sh @@ -26,7 +26,8 @@ cat </opt/tracktor/app/backend/.env NODE_ENV=production PUBLIC_DEMO_MODE=false DB_PATH=/opt/tracktor-data/tracktor.db -PUBLIC_API_BASE_URL=http://$HOST_IP:3000 +PUBLIC_API_BASE_URL=http://$HOST_IP:3000 # Replace this URL if using behind reverse proxy for https traffic. Though it is optional and should work without changing +CORS_ORIGINS=http://$HOST_IP:3000 # Here add the reverse proxy url as well to avoid cross errors from the app. PORT=3000 EOF msg_ok "Configured Tracktor"