diff options
Diffstat (limited to 'net-analyzer/greenbone-security-assistant/files')
3 files changed, 2 insertions, 13 deletions
diff --git a/net-analyzer/greenbone-security-assistant/files/gsa-daemon.conf b/net-analyzer/greenbone-security-assistant/files/gsa-daemon.conf index 2c9a62eef811..9d34da62659c 100644 --- a/net-analyzer/greenbone-security-assistant/files/gsa-daemon.conf +++ b/net-analyzer/greenbone-security-assistant/files/gsa-daemon.conf @@ -18,14 +18,3 @@ 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=" diff --git a/net-analyzer/greenbone-security-assistant/files/gsa.init b/net-analyzer/greenbone-security-assistant/files/gsa.init index 2b4636422422..6e625a96a25c 100644 --- a/net-analyzer/greenbone-security-assistant/files/gsa.init +++ b/net-analyzer/greenbone-security-assistant/files/gsa.init @@ -4,7 +4,7 @@ name="Greenbone Security Assistant Daemon" command="/usr/sbin/gsad" -command_args="${OPENVAS_SECURITY_ASSISTANT_OPTIONS} ${OPENVAS_SECURITY_ASSISTANT_LISTEN_ADDRESS} ${OPENVAS_SECURITY_ASSISTANT_LISTEN_PORT} ${OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_ADDRESS} ${OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_PORT} ${OPENVAS_SECURITY_ASSISTANT_GNUTLS_PRIORITIES} ${OPENVAS_REVERSE_PROXY}" +command_args="${OPENVAS_SECURITY_ASSISTANT_OPTIONS} ${OPENVAS_SECURITY_ASSISTANT_LISTEN_ADDRESS} ${OPENVAS_SECURITY_ASSISTANT_LISTEN_PORT} ${OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_ADDRESS} ${OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_PORT} ${OPENVAS_SECURITY_ASSISTANT_GNUTLS_PRIORITIES}" pidfile="/var/run/gsad.pid" command_background="true" diff --git a/net-analyzer/greenbone-security-assistant/files/gsa.service b/net-analyzer/greenbone-security-assistant/files/gsa.service index bc8c1d9e285c..3d0f2d37a45e 100644 --- a/net-analyzer/greenbone-security-assistant/files/gsa.service +++ b/net-analyzer/greenbone-security-assistant/files/gsa.service @@ -8,7 +8,7 @@ Wants=gvmd.service [Service] Type=forking EnvironmentFile=-/etc/openvas/sysconfig/gsa-daemon.conf -ExecStart=/usr/sbin/gsad $OPENVAS_SECURITY_ASSISTANT_OPTIONS $OPENVAS_SECURITY_ASSISTANT_LISTEN_ADDRESS $OPENVAS_SECURITY_ASSISTANT_LISTEN_PORT $OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_ADDRESS $OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_PORT $OPENVAS_SECURITY_ASSISTANT_GNUTLS_PRIORITIES $OPENVAS_REVERSE_PROXY +ExecStart=/usr/sbin/gsad $OPENVAS_SECURITY_ASSISTANT_OPTIONS $OPENVAS_SECURITY_ASSISTANT_LISTEN_ADDRESS $OPENVAS_SECURITY_ASSISTANT_LISTEN_PORT $OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_ADDRESS $OPENVAS_SECURITY_ASSISTANT_MANAGER_LISTEN_PORT $OPENVAS_SECURITY_ASSISTANT_GNUTLS_PRIORITIES ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed User=root |