aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant/gsad.confd
diff options
context:
space:
mode:
Diffstat (limited to 'community/greenbone-security-assistant/gsad.confd')
-rw-r--r--community/greenbone-security-assistant/gsad.confd42
1 files changed, 32 insertions, 10 deletions
diff --git a/community/greenbone-security-assistant/gsad.confd b/community/greenbone-security-assistant/gsad.confd
index f18d71979d..c484af78c7 100644
--- a/community/greenbone-security-assistant/gsad.confd
+++ b/community/greenbone-security-assistant/gsad.confd
@@ -1,10 +1,32 @@
-# If you want ssl, you need a certificate
-GSAD_EXTRA_ARGS="--http-only"
-#By default on 9392
-GSAD_PORT="--port=9392"
-#By default on locallhost, but you might want to use a reachable ip address
-GSAD_LISTEN="--listen=127.0.0.1"
-#Manager listens on given address - by default manager listens on all addresses
-MANAGER_LISTEN="--mlisten=127.0.0.1"
-#Manager listens on given port - by default 9390
-MANAGER_PORT="--mport=9390"
+# OpenVAS Security Assistant command args
+# man page --> https://www.mankier.com/8/gsad
+
+# e.g. --foreground | e.g. --no-redirect -- > Don't listen port 80 anymore
+OPENVAS_SECURITY_ASSISTANT_OPTIONS="--no-redirect"
+
+# WebUI adress
+OPENVAS_SECURITY_ASSISTANT_LISTEN_ADDRESS="--listen=127.0.0.1"
+
+# WebUI Port
+OPENVAS_SECURITY_ASSISTANT_LISTEN_PORT="--port=9392"
+
+# WebUI Manager Address
+OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_ADDRESS="--mlisten=127.0.0.1"
+
+# WebUI Manager Port
+OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_PORT="--mport=9390"
+
+# TLS Settings
+OPENVAS_SECURITY_ASSISTANT_GNUTLS_PRIORITIES="--gnutls-priorities=NORMAL"
+
+# If you use reverse proxy you must set OPENVAS_REVERSE_PROXY daemon arg
+# otherwise you will get the below error.
+# ---------------------------------------------------------------
+# The request contained an unknown or invalid Host header.
+# If you are trying to access GSA via its hostname or a proxy,
+# make sure GSA is set up to allow it.
+# ---------------------------------------------------------------
+
+# Reverse Proxy Settings ( e.g. --allow-header-host=subdomain.example.com )
+OPENVAS_REVERSE_PROXY="--allow-header-host="
+