2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 06:15:49 +00:00

add filter hosts config

This commit is contained in:
Aravindh-Raju
2023-06-23 17:59:46 +05:30
parent 15bb24f444
commit f27967d0aa
4 changed files with 20 additions and 0 deletions

View File

@@ -89,6 +89,11 @@ shared-display-enabled = ${?SHARED_ZONES_ENABLED}
play.http.secret.key = "changeme"
play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}
# Note: allowed = ["."] matches all hosts hence would not be recommended in a production environment
play.filters.hosts {
allowed = ["."]
}
# You can provide configuration overrides via local.conf if you don't want to replace everything in
# this configuration file
include "local.conf"

View File

@@ -1,6 +1,11 @@
play.http.secret.key = "changeme"
play.i18n.langs = [ "en" ]
# Note: allowed = ["."] matches all hosts hence would not be recommended in a production environment
play.filters.hosts {
allowed = ["."]
}
portal.vinyldns.backend.url = "http://not.real.com"
data-stores = ["mysql"]

View File

@@ -89,6 +89,11 @@ shared-display-enabled = ${?SHARED_ZONES_ENABLED}
play.http.secret.key = "changeme"
play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}
# Note: allowed = ["."] matches all hosts hence would not be recommended in a production environment
play.filters.hosts {
allowed = ["."]
}
# You can provide configuration overrides via local.conf if you don't want to replace everything in
# this configuration file
include "local.conf"

View File

@@ -15,6 +15,11 @@ play.http.parser.maxMemoryBuffer = 370K
# ~~~~~
play.i18n.langs = [ "en" ]
# Note: allowed = ["."] matches all hosts hence would not be recommended in a production environment
play.filters.hosts {
allowed = ["."]
}
# Router
# ~~~~~
# Define the Router object to use for this application.