fix allowed hosts

This commit is contained in:
Valerio Lomanto 2025-02-17 11:12:14 +01:00
parent d326fb1b74
commit a66fadaed9
Signed by: verglasz
GPG key ID: 33263D8CFCFEC285
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
class soc::vuln_dashboard(
String $allowed_origins = $facts['networking']['fqdn'],
String $allowed_hosts = $facts['networking']['fqdn'],
String $docker_tag = 'latest',
String $db_datadir = '/opt/vuln-dashboard/dbdata',
String $pocs_storage_dir = '/opt/vuln-dashboard/pocsdata',

View file

@ -17,7 +17,7 @@ services:
DB_PORT: <%= @db_port %>
CENSYS_API_ID: <%= @censys_api_id %>
CENSYS_API_SECRET: <%= @censys_api_secret %>
DJANGO_ALLOWED_HOSTS: <%= @sso_service_name %>
DJANGO_ALLOWED_HOSTS: <%= @allowed_hosts %>
DJANGO_ALLOWED_ORIGINS: <%= @allowed_origins %>
STATIC_ROOT: /app/static
DASHBOARD_CONFIG_FILE: /app/config.yaml