fix allowed hosts
This commit is contained in:
parent
d326fb1b74
commit
a66fadaed9
2 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue