mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
architectural change 1
This commit is contained in:
7
dockerfiles/init-nginx.sh
Normal file
7
dockerfiles/init-nginx.sh
Normal 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."
|
||||
Reference in New Issue
Block a user