Commit 774d760a authored by Günter Hipler's avatar Günter Hipler
Browse files

again: modified allowed host

parent c34f4f11
Pipeline #11022 passed with stage
in 5 minutes and 46 seconds
......@@ -23,14 +23,24 @@ play {
cookie.secure = true
}
hosts {
allowed = ["*"]
}
hsts {
maxAge = 1 minute # don't interfere with other projects
secureHost = "localhost"
securePort = 9443
# 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 = ["localhost", ".k8s.unibas.ch", "127.0.0.1", "memobase.ch"]
routeModifiers {
# If non empty, then requests will be checked if the route does not have this modifier. This is how we enable the
# anyhost modifier, but you may choose to use a different modifier (such as "api") if you plan to check the
# modifier in your code for other purposes.
whiteList = ["anyhost"]
# If non empty, then requests will be checked if the route contains this modifier
# The black list is used only if the white list is empty
blackList = []
}
}
}
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment