mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-05 01:31:49 -07:00
CodeRabbit suggestions
This commit is contained in:
@@ -220,7 +220,7 @@
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
5. Activate the new website by running the following command:
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
5. Activate the new website by running the following command:
|
||||||
|
|
||||||
@@ -275,7 +275,7 @@
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
5. Activate the new website by running the following command:
|
||||||
|
|
||||||
@@ -305,7 +305,7 @@
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
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))
|
> 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.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
INSTALL_DIR=/app # Specify the installation directory here
|
||||||
|
|
||||||
# DO NOT CHANGE ANYTHING BELOW THIS LINE!
|
# DO NOT CHANGE ANYTHING BELOW THIS LINE!
|
||||||
INSTALLER_DIR=$INSTALL_DIR/install/ubuntu24
|
INSTALLER_DIR=$INSTALL_DIR/install/debian12
|
||||||
CONF_FILE=app.conf
|
CONF_FILE=app.conf
|
||||||
DB_FILE=app.db
|
DB_FILE=app.db
|
||||||
NGINX_CONF_FILE=netalertx.conf
|
NGINX_CONF_FILE=netalertx.conf
|
||||||
@@ -44,7 +44,7 @@ echo "---------------------------------------------------------"
|
|||||||
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 "---------------------------------------------------------"
|
echo "---------------------------------------------------------"
|
||||||
|
|||||||
Reference in New Issue
Block a user