mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-09-01 06:45:21 +00:00
add filter hosts config
This commit is contained in:
@@ -89,6 +89,11 @@ shared-display-enabled = ${?SHARED_ZONES_ENABLED}
|
|||||||
play.http.secret.key = "changeme"
|
play.http.secret.key = "changeme"
|
||||||
play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}
|
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
|
# You can provide configuration overrides via local.conf if you don't want to replace everything in
|
||||||
# this configuration file
|
# this configuration file
|
||||||
include "local.conf"
|
include "local.conf"
|
||||||
|
@@ -1,6 +1,11 @@
|
|||||||
play.http.secret.key = "changeme"
|
play.http.secret.key = "changeme"
|
||||||
play.i18n.langs = [ "en" ]
|
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"
|
portal.vinyldns.backend.url = "http://not.real.com"
|
||||||
|
|
||||||
data-stores = ["mysql"]
|
data-stores = ["mysql"]
|
||||||
|
@@ -89,6 +89,11 @@ shared-display-enabled = ${?SHARED_ZONES_ENABLED}
|
|||||||
play.http.secret.key = "changeme"
|
play.http.secret.key = "changeme"
|
||||||
play.http.secret.key = ${?PLAY_HTTP_SECRET_KEY}
|
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
|
# You can provide configuration overrides via local.conf if you don't want to replace everything in
|
||||||
# this configuration file
|
# this configuration file
|
||||||
include "local.conf"
|
include "local.conf"
|
||||||
|
@@ -15,6 +15,11 @@ play.http.parser.maxMemoryBuffer = 370K
|
|||||||
# ~~~~~
|
# ~~~~~
|
||||||
play.i18n.langs = [ "en" ]
|
play.i18n.langs = [ "en" ]
|
||||||
|
|
||||||
|
# Note: allowed = ["."] matches all hosts hence would not be recommended in a production environment
|
||||||
|
play.filters.hosts {
|
||||||
|
allowed = ["."]
|
||||||
|
}
|
||||||
|
|
||||||
# Router
|
# Router
|
||||||
# ~~~~~
|
# ~~~~~
|
||||||
# Define the Router object to use for this application.
|
# Define the Router object to use for this application.
|
||||||
|
Reference in New Issue
Block a user