With Play 1.2, I can prefix the configuration keys with the framework ID or application mode as follows:
# Production configuration %prod.http.port=80 %prod.
We just have multiple application.conf files, the default is used during development and we have a prod-applicaton.conf that we simply copy into place when we deploy.