sukria/Dancer — Issue #675: Running multiple apps with Plack::Builder & different configs
Author: Perlover
Created: 2011-10-11 17:38:21+00:00
State: open

And second question about "Running multiple apps with Plack::Builder"
I want to run multi-hosted sites (one IP address but different Host header) from one process Starman through Dancer & Plack::Builder
But after researching the Dancer's sources i noticed that some config options in config.yml are global (plugins settings for example) and i will not be able to use different options for other Dancer applications from one process (because $SETTINGS in Dancer::Config are global and the sub "load" from Dancer::Config loads only options from first-loaded configfiles)

Do i understand this issue?
And how can i resolve better a running different applications from one Dancer process?

Thanks!
Perlover