play.filters {
enabled = null
}
play.filters {
# Enabled filters are run automatically against Play. # CSRFFilter, AllowedHostFilters, and SecurityHeadersFilters are enabled by default. # enabled += filters.ExampleFilter enabled += play.filters.hosts.AllowedHostsFilter
# Disabled filters remove elements from the enabled list. # disabled += play.filters.hosts.AllowedHostsFilter hosts {
# A list of valid hosts (e.g. "example.com") or suffixes of valid hosts (e.g. ".example.com") # Note that ".example.com" will match example.com and any subdomain of example.com, with or without a trailing dot. # "." matches all domains, and "" matches an empty or nonexistent host. allowed = [".", ""] }}--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/2b0530e5-9970-4eb1-a4e3-50c9d39786d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.