Closed gmethvin closed 6 years ago
It looks like the way conductr is configuring the Play allowed hosts prevents the user from being able to easily override them in application.conf.
application.conf
See https://github.com/typesafehub/conductr-lib/blob/61897a039943650f102209c1732ff3e5e78448a5/play26-conductr-bundle-lib/src/main/scala/com/typesafe/conductr/bundlelib/play/api/Env.scala#L26
I think it would be acceptable to add hosts to the allowed hosts configuration, but not to replace them entirely.
conductr could also use play/reference-overrides.conf with:
play/reference-overrides.conf
play.filters.hosts.allowed += "127.0.0.1"
Fixed via #164
It looks like the way conductr is configuring the Play allowed hosts prevents the user from being able to easily override them in
application.conf
.See https://github.com/typesafehub/conductr-lib/blob/61897a039943650f102209c1732ff3e5e78448a5/play26-conductr-bundle-lib/src/main/scala/com/typesafe/conductr/bundlelib/play/api/Env.scala#L26
I think it would be acceptable to add hosts to the allowed hosts configuration, but not to replace them entirely.
conductr could also use
play/reference-overrides.conf
with: