architectural change 1

This commit is contained in:
Adam Outler
2025-09-24 16:29:15 -04:00
parent 3dd5c4bfcc
commit 29aa884836
13 changed files with 301 additions and 109 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
echo "Initializing nginx..."
# Setup NGINX
echo "Setting webserver to address ($LISTEN_ADDR) and port ($PORT)"
envsubst '$NETALERTX_APP $LISTEN_ADDR $PORT' < "${NETALERTX_APP}/install/netalertx.template.conf" > "${NGINX_CONFIG_FILE}"
rm -f /etc/nginx/http.d/default.conf
echo "nginx initialized."