From 4b2b8d6dd138b93edf59678bbaa6f5760da84b76 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Fri, 2 Aug 2024 08:01:08 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A5Bare-metal=20install=20work=20#753?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/app.conf | 2 +- install/netalertx.debian.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/back/app.conf b/back/app.conf index bfc6cc34..c122d021 100755 --- a/back/app.conf +++ b/back/app.conf @@ -17,7 +17,7 @@ # Scan multiple interfaces (eth1 and eth0): # SCAN_SUBNETS = [ '192.168.1.0/24 --interface=eth1', '192.168.1.0/24 --interface=eth0' ] -SCAN_SUBNETS=['192.168.1.0/24 --interface=eth1'] +SCAN_SUBNETS=['192.168.1.0/24 --interface=eth0'] TIMEZONE='Europe/Berlin' LOADED_PLUGINS = ['ARPSCAN','CSVBCKP','DBCLNP', 'INTRNT','MAINT','NEWDEV','NSLOOKUP','NTFPRCS', 'PHOLUS','SETPWD','SMTP', 'SYNC', 'VNDRPDT', 'WORKFLOWS'] diff --git a/install/netalertx.debian.conf b/install/netalertx.debian.conf index 537675ad..4cb02a9a 100755 --- a/install/netalertx.debian.conf +++ b/install/netalertx.debian.conf @@ -1,10 +1,10 @@ server { listen 20211 default_server; - root /var/www/html/app; + root /var/www/html/netalertx; index index.php; #rewrite /app/(.*) / permanent; - add_header X-Forwarded-Prefix "/app" always; - proxy_set_header X-Forwarded-Prefix "/app"; + add_header X-Forwarded-Prefix "/netalertx" always; + proxy_set_header X-Forwarded-Prefix "/netalertx"; location ~* \.php$ { # Set Cache-Control header to prevent caching on the first load