From e00f26658bbefe1c574e834a88c7677a85344931 Mon Sep 17 00:00:00 2001 From: Ingo Ratsdorf Date: Fri, 12 Sep 2025 15:16:25 +1200 Subject: [PATCH] CodeRabbit suggestions --- docs/REVERSE_PROXY.md | 10 +++++----- install/debian12/start.debian12.sh | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/REVERSE_PROXY.md b/docs/REVERSE_PROXY.md index f0a4c730..5a29ec9b 100755 --- a/docs/REVERSE_PROXY.md +++ b/docs/REVERSE_PROXY.md @@ -220,7 +220,7 @@ ``` -4. Check your config with `httpd -t`. If there are any issues, it will tell you. +4. Check your config with `httpd -t` (or `apache2ctl -t` on Debian/Ubuntu). If there are any issues, it will tell you. 5. Activate the new website by running the following command: @@ -247,7 +247,7 @@ ``` -4. Check your config with `httpd -t`. If there are any issues, it will tell you. +4. Check your config with `httpd -t` (or `apache2ctl -t` on Debian/Ubuntu). If there are any issues, it will tell you. 5. Activate the new website by running the following command: @@ -275,7 +275,7 @@ ``` -4. Check your config with `httpd -t`. If there are any issues, it will tell you. +4. Check your config with `httpd -t` (or `apache2ctl -t` on Debian/Ubuntu). If there are any issues, it will tell you. 5. Activate the new website by running the following command: @@ -305,7 +305,7 @@ ``` -4. Check your config with `httpd -t`. If there are any issues, it will tell you. +4. Check your config with `httpd -t` (or `apache2ctl -t` on Debian/Ubuntu). If there are any issues, it will tell you. 5. Activate the new website by running the following command: @@ -381,7 +381,7 @@ location ^~ /netalertx/ { > Submitted by [Isegrimm](https://github.com/Isegrimm) 🙏 (based on this [discussion](https://github.com/jokob-sk/NetAlertX/discussions/449#discussioncomment-7281442)) -Asuming the user already has a working Traefik setup, this is what's needed to make NetAlertX work at a URL like www.domain.com/netalertx/. +Assuming the user already has a working Traefik setup, this is what's needed to make NetAlertX work at a URL like www.domain.com/netalertx/. Note: Everything in these configs assumes '**www.domain.com**' as your domainname and '**section31**' as an arbitrary name for your certificate setup. You will have to substitute these with your own. diff --git a/install/debian12/start.debian12.sh b/install/debian12/start.debian12.sh index 1ab24ae8..ac9256c3 100644 --- a/install/debian12/start.debian12.sh +++ b/install/debian12/start.debian12.sh @@ -9,7 +9,7 @@ echo "This script will set up and start NetAlertX on your Debian12 system." INSTALL_DIR=/app # Specify the installation directory here # DO NOT CHANGE ANYTHING BELOW THIS LINE! -INSTALLER_DIR=$INSTALL_DIR/install/ubuntu24 +INSTALLER_DIR=$INSTALL_DIR/install/debian12 CONF_FILE=app.conf DB_FILE=app.db NGINX_CONF_FILE=netalertx.conf @@ -44,7 +44,7 @@ echo "---------------------------------------------------------" echo -"${INSTALL_PATH}/install/debian12/install_dependencies.debian12.sh" # if modifying this file transfer the changes into the root Dockerfile.debian as well! +"${INSTALLER_DIR}/install_dependencies.debian12.sh" # if modifying this file transfer the changes into the root Dockerfile.debian as well! echo "---------------------------------------------------------"